• packages.debian.org: filelist is currently broken for some packages

    From =?UTF-8?Q?Louis-Philippe_V=c3=a9ron@21:1/5 to All on Thu Dec 10 00:50:01 2020
    XPost: linux.debian.bugs.dist

    This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --PF51wIFfq4PBTNK6ZWCwo4wuM4DrmvIvZ
    Content-Type: text/plain; charset=utf-8
    Content-Language: en-US
    Content-Transfer-Encoding: quoted-printable

    Package: www.debian.org
    Severity: important
    User: www.debian.org@packages.debian.org
    Usertag: packages

    Dear maintainers,

    The "filelist" feature on packages.debian.org has been broken for a
    number for days on some packages. I sadly cannot find a common
    denominator. It doesn't seem to be upload-date specific,
    language-specific nor architecture-specific.

    Only packages in bullseye and sid seem to be affected.

    The error message I get is:

    -----------------------------------------------------
    Error

    No such package in this suite on this architecture. -----------------------------------------------------

    Here are some examples:

    https://packages.debian.org/sid/all/supysonic/filelist https://packages.debian.org/bullseye/all/isbg/filelist https://packages.debian.org/bullseye/all/libprismatic-schema-clojure/filelist

    At first I though the problem might be upload-date specific, but firefox
    was uploaded to unstable on 2020/11/18 (after isbg) and filelist still
    works:

    https://packages.debian.org/sid/amd64/firefox/filelist

    It's not a question of architecture either. For example, xorg-server
    works, was uploaded to buster on 2020/12/01 and is an arch "all" package:

    https://packages.debian.org/buster/all/xorg-server-source/filelist

    Without access to server logs, I don't think I can really debug this
    further :(

    --
    ⢀⣴⠾⠻⢶⣦⠀
    ⣾⠁⢠⠒⠀⣿⡁ Louis-Philippe Véronneau
    ⢿⡄⠘⠷⠚⠋ pollo@debian.org / veronneau.org
    ⠈⠳⣄


    --PF51wIFfq4PBTNK6ZWCwo4wuM4DrmvIvZ--

    -----BEGIN PGP SIGNATURE-----

    wsF5BAABCAAjFiEEZ39U8fqGga2OwLzmeurE7GqqCpcFAl/RYQwFAwAAAAAACgkQeurE7GqqCpeg Ng/6A2b2VfCZN5O8YaULfQr8u58ttcYeXSom46fgthRtxSKdFmaNPg4vx6GUuMDqrg084x/SlQZU fDaWdOtpthAHBYX5UW/NX31rM5K1F6cF6IY3n6xlSW1KF3q+NbbXUh9VcBvOAf5f3mQlLFSCoKkO rNFMcq1gPex8bmXOKsVE7DF6krQ72mTBGL+29pGFaMQwoVeUsxUt70C0rGbXRnJCuPAc2mJBYA8P tnS2M6MWQVPRyMg8IRQesR4rs4q7lthuY1aFeJYCFhnYAeQXweJ1Dgq7VxfpRx2A4aIUS9BVKl/g ZnnViX4tAEaj0WCe9uJof13qksAomwJ5eV/zAsWQyIL5f5guDummQPBXrRtlH2FiNcNcAgTj210u rHuYy+bjc9Jc5GbVRzVbzOPBv+WZth5N1NUqQ18NGknbnc6MwwhWvmcB/Q3zf9SGVp0t6CN4Z1gu q4y2q90/t4i75X/RVdlZ6mhkMtZ5+Mc/XslRaekpOaZW4pY18uZl2x1Ub2PBgLwL2NilKR8oPeER 56FkCcM6qk55vnjlLNxjf82JdK3bwJrEjYh1GnnhcLBqONet6pNcWp0GyTFFEw5peJRavjO8Qr71 fHCBn9uIjj6vUcrMVoZwmkA8jre3v/NnMZJHYtTXDrSRQW5CELzFpA78vUA8rXKbiMAF+/7VI6Ef r4c=
    =LwRr
    -
  • From =?UTF-8?Q?Louis-Philippe_V=c3=a9ron@21:1/5 to All on Thu Dec 10 06:40:01 2020
    XPost: linux.debian.bugs.dist

    This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --dFfhrSJqIhcCr4odpKrJadu496yqjYs4O
    Content-Type: text/plain; charset=utf-8
    Content-Language: en-US
    Content-Transfer-Encoding: quoted-printable

    Ok, so more debug info, as apparently as a DD I do have access to picconi.debian.org

    1. The file list data is stored in Berkeley DBs in srv/packages.debian.org/files/db/contents/filelists_${suite}_${arch}.db

    2. The packages I referenced before are missing, but only in certain
    archs. For example, both "supysonic" and "isbg" are arch "all" packages,
    but only end up in:

    * filelists_sid_alpha.db
    * filelists_sid_riscv64.db
    * filelists_sid_ppc64.db
    * filelists_sid_sh4.db
    * filelists_sid_x32.db
    * filelists_sid_hppa.db
    * filelists_sid_sparc64.db
    * filelists_sid_m68k.db

    libprismatic-schema-clojure (also arch "all) ends up in:

    * filelists_sid_alpha.db
    * filelists_sid_riscv64.db
    * filelists_sid_ppc64.db
    * filelists_sid_sh4.db
    * filelists_sid_x32.db
    * filelists_sid_hppa.db
    * filelists_sid_sparc64.db
    * filelists_sid_m68k.db
    * filelists_sid_mips.db
    * filelists_sid_hurd-i386.db
    * filelists_sid_powerpcspe.db
    * filelists_sid_kfreebsd-amd64.db
    * filelists_sid_kfreebsd-i386.db

    So it's not a fixed list of archs being processed correctly.

    3. _Something_ clearly is wrong with the filelists.db files generated,
    as some are _much_ smaller that other. For example, one would expect
    amd64 to be the largest file...

    31M ../filelists_sid_all.db
    31M ../filelists_sid_armel.db
    31M ../filelists_sid_s390x.db
    32M ../filelists_sid_mips64el.db
    32M ../filelists_sid_mipsel.db
    33M ../filelists_sid_armhf.db
    34M ../filelists_sid_ppc64el.db
    35M ../filelists_sid_i386.db
    36M ../filelists_sid_amd64.db
    81M ../filelists_sid_s390.db
    84M ../filelists_sid_ia64.db
    89M ../filelists_sid_sparc.db
    107M ../filelists_sid_powerpc.db
    110M ../filelists_sid_hurd-i386.db
    111M ../filelists_sid_kfreebsd-amd64.db
    111M ../filelists_sid_kfreebsd-i386.db
    117M ../filelists_sid_arm64.db
    121M ../filelists_sid_mips.db
    122M ../filelists_sid_sh4.db
    123M ../filelists_sid_powerpcspe.db
    127M ../filelists_sid_hppa.db
    127M ../filelists_sid_m68k.db
    128M ../filelists_sid_alpha.db
    128M ../filelists_sid_riscv64.db
    128M ../filelists_sid_sparc64.db
    129M ../filelists_sid_x32.db
    131M ../filelists_sid_ppc64.db

    4. /srv/packages.debian.org/bin/parse-contents L101-181 is the code
    responsible for generating the filelists.db files.

    5. /srv/packages.debian.org/bin/daily is the script calling
    parse-contents. My guess is it's called by a cron job or triggers on an
    archive refresh, but I don't have the permissions to find out.

    6. looking at the cron logs in /srv/packages.debian.org/files/logs, parse-contents seems to run correctly and update the filelists on a
    frequent basis without outputting errors in the log.

    7. the local debian mirror seems to be up to date, so the error doesn't
    come from there.

    As to why those packages aren't listed in the filelists, no clue!

    Hopefully that'll help someone if I don't get around fixing this bug
    myself (chances I won't...)

    --
    ⢀⣴⠾⠻⢶⣦⠀
    ⣾⠁⢠⠒⠀⣿⡁ Louis-Philippe Véronneau
    ⢿⡄⠘⠷⠚⠋ pollo@debian.org / veronneau.org
    ⠈⠳⣄


    --dFfhrSJqIhcCr4odpKrJadu496yqjYs4O--

    -----BEGIN PGP SIGNATURE-----

    wsF5BAABCAAjFiEEZ39U8fqGga2OwLzmeurE7GqqCpcFAl/RswUFAwAAAAAACgkQeurE7GqqCpcq mQ/+JFQl9ijZ1Sr0ghuJFZ+tJr2x1rxHaN3I1WBMicRC2W82qhlO0uU4GMnnlNDIDGMFQulxCoSX J9ipPNeds/UMq7H8P97SGWaquAIbl6a8GoeqqpqhK3408wg8d+Dvt6F5DauKl817aBUXNAJPT2Uq wsJRqIUx62P9HfewXCoQp6QSZkOVft0K5nAQ+oK2oLzDzehWfIEXBtf+FUxFb3T7e6R5KnvmKdND uViuj0cxwtrgrL1RNqzE2lSxVIX3SCATZyIaKRt9n0sK7dFeblBGT3LrT+LEoa2iW5yACcpN7o+a pbVFP2I7dQF1cCXsijO7twWqaVpkx0SYAqeMtkbIsnksmGLNbOc6t4kDyBumipaZKBRkYvXJY2fe jceD5FA8JV0g7ONTqXJMGyB44tPAlxF/CHxK8/Pen8hXMAZBBCL03SK1s9BEgflIbCRtQ+HWcBeO MTQEKA1ij39z5fllTCW+teqg7lkZt7AIkrLbn6j5jGsULnj2tH3weJYfHrlGx/gHJ2jcXxEehVWg hhB6g/jXgIphqQNNjVrqf8DKDDOpbPH3vdUA6qvLZIT7o8OajKC5q4VbKYxcFMywr4gTLO55qnZs iYahJpfVEXJ7YZWCCpzLFwGM4iG/D/mS35FBunx/Ap8EoP5XFl/8A+u1L5qUYclVYLWG5iOIlJyX 2ts=
    =kWBh
    -