• Bug#1101127: Please adjust autopkgtest for changes in the file package

    From Christoph Biedl@21:1/5 to All on Sun Mar 23 15:20:01 2025
    Source: munin
    Version: 2.0.76-4
    Severity: normal
    X-Debbugs-Cc: debian.axhn@manchmal.in-ulm.de

    Greetings,

    the munin autopkgtest started to fail¹ for changes in the file package
    since upstream version 5.46:


    | debian/tests/munin-master/02.webserver_access.t ...
    | expecting success:
    | get_munin_url "/" | assert_mime_type "text/xml"
    | --- expected_mime_type 2025-03-21 03:30:39.157946186 +0000
    | +++ received_mime_type 2025-03-21 03:30:39.165946360 +0000
    | @@ -1 +1 @@
    | -text/xml
    | +application/xhtml+xml

    According to git bisect, the change was introduced in file's upstream
    commit FILE5_45-146-g7ef1e38a² and I think it does the right thing,
    especially after looking into the media types registry³. If you
    disagree, I can bring this to upstream but I'd need some good arguments
    then. So in my opinion it was wiser to just adjust your test.

    Kind regards,

    ¹ https://ci.debian.net/packages/m/munin/testing/amd64/59092900/
    ² https://github.com/file/file/commit/7ef1e38a2e7fc6dca320f634498faf1804eedb54 ³ https://www.iana.org/assignments/media-types/media-types.xhtml

    -- System Information:
    Debian Release: trixie/sid
    APT prefers unstable
    APT policy: (500, 'unstable')
    Architecture: amd64 (x86_64)

    Kernel: Linux 6.12.17 (SMP w/8 CPU threads)
    Kernel taint flags: TAINT_WARN
    Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
    Shell: /bin/sh linked to /usr/bin/dash
    Init: systemd (via /run/systemd/system)


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

    iQIzBAABCgAdFiEEWXMI+726A12MfJXdxCxY61kUkv0FAmfgFfAACgkQxCxY61kU kv1fKw//fB6it3qRyJLh3hkMhxkXo/XQkV6S37Ff5A0SfYoN08VNvL63W4cYMv9a N/YHzLpQJSKZms+Hicg3hOpI9gQqq36Rj29kilxtjOoohi208UAfJ/tlzH4nC95R I56EtEJ2PvK/pkowQ614FXcvyD467ZjiT2/nQ0/DobS9ZY6wZ9xkQK7BwbC+gbAc laS7Vc9XyVbr49FtXOfcyXIq/k1hG2D1T57bBcfhkTzamfAXz78FqojLSSVYoPxb G9sw/8SXDt5udN987ej1nCmXrmeJVMfNJLVxlx1GLHPlDiucJiTmUHW/vT1XhkvD AVlO6m9oBEtTik+kOb/qzZkE79i/LAAQeS4+EKxwUOny7Q1CH0boWso7oM7JzldD uksrQEbdlt/OFrHPI+MzZqTlJNYF3eBiDxOhb3fmtdHnbaAekIpmjYUw+6uRVMvl Z35bZYzgAhOAoVMJ2ka6j21G+BASSfYdre6VZNEmM3gC2XmdgMFdBppa9QAmwn6q MmhxT7OSSckOZxm8EggojrzjSh+9GPuVFXFd9DvUO4TsG3bMpzFn/MchKdOSdVW6 DsB6Cw7xIl9z3k7BRqB1mz3I9DIkvXpZ3GudscMBbNaBf0q6xFbNwijnOxXYTwFg zyx8J9JRj0IHhvhWoZ2gikVvmjlRWKm2AhTvYCdw+lYCE5QA6YA=
    =IJRe
    -----END PGP SIGNATURE-----

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