Bug#797581: libmojolicious-plugin-i18n-perl: FTBFS: t/i18n_url_for.t fails

Niko Tyni ntyni at debian.org
Mon Aug 31 17:37:04 UTC 2015


Package: libmojolicious-plugin-i18n-perl
Version: 1.30-1
Severity: serious
Forwarded: https://rt.cpan.org/Public/Bug/Display.html?id=104650
Tags: upstream stretch sid
User: debian-perl at lists.debian.org
Usertags: autopkgtest

As detected by ci.debian.net, this package fails its test suite on
current sid.

This seems to have been broken by libmojolicious-perl update to
6.15+dfsg-1. If this needs actual code changes rather than just test
suite tweaks, libmojolicious-perl should probably Break earlier versions.


   #   Failed test 'Check Mojolicious 5.0'
   #   at t/i18n_url_for.t line 51.
   #                   '6.15'
   #     doesn't match '(?^:^5\.\d+$)'
   [Mon Aug 31 17:31:18 2015] [debug] Your secret passphrase needs to be changed
   [Mon Aug 31 17:31:18 2015] [debug] GET "/"
   [Mon Aug 31 17:31:18 2015] [debug] Rendering template "index.html.ep" from DATA section
   [Mon Aug 31 17:31:18 2015] [debug] 200 OK (0.006126s, 163.239/s)
   [Mon Aug 31 17:31:18 2015] [debug] Found language ru in URL /ru
   [Mon Aug 31 17:31:18 2015] [debug] GET "/"
   [Mon Aug 31 17:31:18 2015] [debug] Rendering template "index.html.ep" from DATA section
   [Mon Aug 31 17:31:18 2015] [debug] 200 OK (0.003955s, 252.845/s)
   [Mon Aug 31 17:31:18 2015] [debug] Found language en in URL /en
   [Mon Aug 31 17:31:18 2015] [debug] GET "/"
   [Mon Aug 31 17:31:18 2015] [debug] Rendering cached template "index.html.ep" from DATA section
   [Mon Aug 31 17:31:18 2015] [debug] 200 OK (0.002350s, 425.532/s)
   [Mon Aug 31 17:31:18 2015] [debug] Found language de in URL /de
   [Mon Aug 31 17:31:18 2015] [debug] GET "/"
   [Mon Aug 31 17:31:18 2015] [debug] Rendering cached template "index.html.ep" from DATA section
   [Mon Aug 31 17:31:19 2015] [debug] 200 OK (0.002425s, 412.371/s)
   [Mon Aug 31 17:31:19 2015] [debug] GET "/es"
   [Mon Aug 31 17:31:19 2015] [debug] Template "not_found.development.html.ep" not found
   [Mon Aug 31 17:31:19 2015] [debug] Template "not_found.html.ep" not found
   [Mon Aug 31 17:31:19 2015] [debug] Rendering inline template "fd403ab55a4c875e35b42428816134c7"
   [Mon Aug 31 17:31:19 2015] [debug] Rendering inline template "5c56e02d3f6bef1b561eb2fd795ceacc"
   [Mon Aug 31 17:31:19 2015] [debug] 404 Not Found (0.050809s, 19.682/s)
   [Mon Aug 31 17:31:19 2015] [debug] GET "/test/hello"
   [Mon Aug 31 17:31:19 2015] [debug] Rendering template "compat.html.ep" from DATA section
   [Mon Aug 31 17:31:19 2015] [debug] 200 OK (0.007687s, 130.090/s)
   [Mon Aug 31 17:31:19 2015] [debug] GET "/auth"
   [Mon Aug 31 17:31:19 2015] [debug] Rendering template "auth.html.ep" from DATA section
   [Mon Aug 31 17:31:19 2015] [debug] 200 OK (0.004291s, 233.046/s)
   
   #   Failed test 'exact match for content'
   #   at t/i18n_url_for.t line 88.
   #          got: '<a href="http://example.com/widget?lang=ru&token_url=http://127.0.0.1:55498/login?next=%2Fauth">auth</a>
   # '
   #     expected: '<a href="http://example.com/widget?lang=ru&token_url=http://localhost:55498/login?next=/auth">auth</a>
   # '
   [Mon Aug 31 17:31:19 2015] [debug] POST "/login"
   [Mon Aug 31 17:31:19 2015] [debug] Routing to a callback
   [Mon Aug 31 17:31:19 2015] [debug] 302 Found (0.001688s, 592.417/s)
   [Mon Aug 31 17:31:19 2015] [debug] Found language ru in URL /ru/auth
   [Mon Aug 31 17:31:19 2015] [debug] GET "/auth"
   [Mon Aug 31 17:31:19 2015] [debug] Rendering template "auth.html.ep" from DATA section
   [Mon Aug 31 17:31:19 2015] [debug] 200 OK (0.004202s, 237.982/s)
   
   #   Failed test 'exact match for content'
   #   at t/i18n_url_for.t line 94.
   #          got: '<a href="http://example.com/widget?lang=ru&token_url=http://127.0.0.1:55498/ru/login?next=%2Fru%2Fauth">auth</a>
   # '
   #     expected: '<a href="http://example.com/widget?lang=ru&token_url=http://localhost:55498/ru/login?next=/ru/auth">auth</a>
   # '
   [Mon Aug 31 17:31:19 2015] [debug] POST "/login"
   [Mon Aug 31 17:31:19 2015] [debug] Routing to a callback
   [Mon Aug 31 17:31:19 2015] [debug] 302 Found (0.001224s, 816.993/s)
   [Mon Aug 31 17:31:19 2015] [debug] Found language en in URL /en/auth
   [Mon Aug 31 17:31:19 2015] [debug] GET "/auth"
   [Mon Aug 31 17:31:19 2015] [debug] Rendering cached template "auth.html.ep" from DATA section
   [Mon Aug 31 17:31:19 2015] [debug] 200 OK (0.002628s, 380.518/s)
   
   #   Failed test 'exact match for content'
   #   at t/i18n_url_for.t line 100.
   #          got: '<a href="http://example.com/widget?lang=en&token_url=http://127.0.0.1:55498/en/login?next=%2Fen%2Fauth">auth</a>
   # '
   #     expected: '<a href="http://example.com/widget?lang=en&token_url=http://localhost:55498/en/login?next=/en/auth">auth</a>
   # '
   [Mon Aug 31 17:31:19 2015] [debug] POST "/login"
   [Mon Aug 31 17:31:19 2015] [debug] Routing to a callback
   [Mon Aug 31 17:31:19 2015] [debug] 302 Found (0.000961s, 1040.583/s)
   [Mon Aug 31 17:31:19 2015] [debug] POST "/login"
   [Mon Aug 31 17:31:19 2015] [debug] Routing to a callback
   [Mon Aug 31 17:31:19 2015] [debug] 302 Found (0.000941s, 1062.699/s)
   [Mon Aug 31 17:31:19 2015] [debug] POST "/login"
   [Mon Aug 31 17:31:19 2015] [debug] Routing to a callback
   [Mon Aug 31 17:31:19 2015] [debug] 302 Found (0.000961s, 1040.583/s)
   [Mon Aug 31 17:31:19 2015] [debug] POST "/login"
   [Mon Aug 31 17:31:19 2015] [debug] Routing to a callback
   [Mon Aug 31 17:31:19 2015] [debug] 302 Found (0.000917s, 1090.513/s)
   # Looks like you failed 4 tests of 45.

-- 
Niko Tyni   ntyni at debian.org



More information about the pkg-perl-maintainers mailing list