• Issue with appstream hints: severity missing for a tag?

    From Raphael Hertzog@21:1/5 to All on Thu Jan 25 10:40:01 2024
    Hello Matthias,

    I recently opened my owner@tracker.debian.org mailbox and I found
    hundreds of errors:

    ----
    Task UpdateAppStreamStatsTask failed with the following traceback.

    KeyError
    'asv-cid-contains-hyphen'

    Traceback (most recent call last):
    File "/srv/tracker.debian.org/distro-tracker/distro_tracker/core/tasks/base.py", line 378, in run_task
    task.execute()
    File "/srv/tracker.debian.org/distro-tracker/distro_tracker/core/tasks/base.py", line 256, in execute
    call_methods_with_prefix(self, 'execute_')
    File "/srv/tracker.debian.org/distro-tracker/distro_tracker/core/utils/misc.py", line 44, in
    call_methods_with_prefix
    method(*args, **kwargs)
    File "/srv/tracker.debian.org/distro-tracker/distro_tracker/vendor/debian/tracker_tasks.py", line 889,
    in execute_main
    self._load_appstream_hint_stats(component, arch, all_stats)
    File "/srv/tracker.debian.org/distro-tracker/distro_tracker/vendor/debian/tracker_tasks.py", line 755,
    in _load_appstream_hint_stats
    severity = self._tag_severities[e['tag']]

    Exception Type: KeyError
    Exception Value: 'asv-cid-contains-hyphen'
    ----

    Did you have any idea of what's wrong here? Is it a problem in the data
    that you generate? Or is an update needed on tracker's side?

    Thank you in advance!
    --
    ⢀⣴⠾⠻⢶⣦⠀ Raphaël Hertzog <hertzog@debian.org>
    ⣾⠁⢠⠒⠀⣿⡁
    ⢿⡄⠘⠷⠚⠋ The Debian Handbook: https://debian-handbook.info/get/
    ⠈⠳⣄⠀⠀⠀⠀ Debian Long Term Support: https://deb.li/LTS

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Matthias Klumpp@21:1/5 to All on Thu Jan 25 17:10:01 2024
    Hi Raphael!

    Am Do., 25. Jan. 2024 um 10:30 Uhr schrieb Raphael Hertzog <hertzog@debian.org>:

    Hello Matthias,

    I recently opened my owner@tracker.debian.org mailbox and I found
    hundreds of errors:

    ----
    Task UpdateAppStreamStatsTask failed with the following traceback.

    KeyError
    'asv-cid-contains-hyphen'
    [...]

    So the issue is that this tag has been removed/renamed, but Debian
    still has a bunch of components cached that have emitted it.
    The most trivial solution, given that a tag rename/removal is rather
    rare, is to simply reprocess all data to make sure the old tag isn't
    used anymore.

    I will kickstart a full reprocessing of the whole archive (well, the
    sid component) today, then this issue should go away.

    Thank you for letting me know!
    Cheers,
    Matthias

    --
    I welcome VSRE emails. See http://vsre.info/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Matthias Klumpp@21:1/5 to All on Sat Jan 27 21:30:02 2024
    Hi Raphael!

    The issue should be gone for a few days already, do you still see it
    or is it resolved?

    Best,
    Matthias

    Am Do., 25. Jan. 2024 um 16:59 Uhr schrieb Matthias Klumpp <matthias@tenstral.net>:

    Hi Raphael!

    Am Do., 25. Jan. 2024 um 10:30 Uhr schrieb Raphael Hertzog <hertzog@debian.org>:

    Hello Matthias,

    I recently opened my owner@tracker.debian.org mailbox and I found
    hundreds of errors:

    ----
    Task UpdateAppStreamStatsTask failed with the following traceback.

    KeyError
    'asv-cid-contains-hyphen'
    [...]

    So the issue is that this tag has been removed/renamed, but Debian
    still has a bunch of components cached that have emitted it.
    The most trivial solution, given that a tag rename/removal is rather
    rare, is to simply reprocess all data to make sure the old tag isn't
    used anymore.

    I will kickstart a full reprocessing of the whole archive (well, the
    sid component) today, then this issue should go away.

    Thank you for letting me know!
    Cheers,
    Matthias

    --
    I welcome VSRE emails. See http://vsre.info/



    --
    I welcome VSRE emails. See http://vsre.info/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Raphael Hertzog@21:1/5 to Matthias Klumpp on Mon Jan 29 12:10:01 2024
    Hello Matthias,

    the issue disappeared since January 27th. Thank you for your help!

    Cheers,

    On Sat, 27 Jan 2024, Matthias Klumpp wrote:
    Hi Raphael!

    The issue should be gone for a few days already, do you still see it
    or is it resolved?

    Best,
    Matthias

    Am Do., 25. Jan. 2024 um 16:59 Uhr schrieb Matthias Klumpp <matthias@tenstral.net>:

    Hi Raphael!

    Am Do., 25. Jan. 2024 um 10:30 Uhr schrieb Raphael Hertzog <hertzog@debian.org>:

    Hello Matthias,

    I recently opened my owner@tracker.debian.org mailbox and I found hundreds of errors:

    ----
    Task UpdateAppStreamStatsTask failed with the following traceback.

    KeyError
    'asv-cid-contains-hyphen'
    [...]

    So the issue is that this tag has been removed/renamed, but Debian
    still has a bunch of components cached that have emitted it.
    The most trivial solution, given that a tag rename/removal is rather
    rare, is to simply reprocess all data to make sure the old tag isn't
    used anymore.

    I will kickstart a full reprocessing of the whole archive (well, the
    sid component) today, then this issue should go away.

    Thank you for letting me know!
    Cheers,
    Matthias

    --
    I welcome VSRE emails. See http://vsre.info/



    --
    I welcome VSRE emails. See http://vsre.info/


    --
    ⢀⣴⠾⠻⢶⣦⠀ Raphaël Hertzog <hertzog@debian.org>
    ⣾⠁⢠⠒⠀⣿⡁
    ⢿⡄⠘⠷⠚⠋ The Debian Handbook: https://debian-handbook.info/get/
    ⠈⠳⣄⠀⠀⠀⠀ Debian Long Term Support: https://deb.li/LTS

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)