• Bug#1057549: crowdsec: FTBFS: FAIL: TestOneShot/permission_denied

    From Cyril Brulebois@21:1/5 to All on Wed Jan 17 21:00:01 2024
    Hi Santiago,

    Santiago Vila <sanvila@debian.org> (2023-12-05):
    […]

    Thanks for the report. The relevant part didn't appear in the excerpt
    so I'm quoting the full build log below:

    === RUN TestOneShot/permission_denied
    file_test.go:234:
    Error Trace: /<<PKGBUILDDIR>>/_build/src/github.com/crowdsecurity/crowdsec/pkg/cstest/utils.go:25
    /<<PKGBUILDDIR>>/_build/src/github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/file/file_test.go:234
    Error: An error is expected but got nil.
    Test: TestOneShot/permission_denied
    === RUN TestOneShot/ignored_directory
    === RUN TestOneShot/glob_syntax_error
    === RUN TestOneShot/no_matching_files
    === RUN TestOneShot/test.log
    === RUN TestOneShot/test.log.gz
    === RUN TestOneShot/unexpected_end_of_gzip_stream
    === RUN TestOneShot/deleted_file
    --- FAIL: TestOneShot (0.00s)
    --- FAIL: TestOneShot/permission_denied (0.00s)
    --- PASS: TestOneShot/ignored_directory (0.00s)
    --- PASS: TestOneShot/glob_syntax_error (0.00s)
    --- PASS: TestOneShot/no_matching_files (0.00s)
    --- PASS: TestOneShot/test.log (0.00s)
    --- PASS: TestOneShot/test.log.gz (0.00s)
    --- PASS: TestOneShot/unexpected_end_of_gzip_stream (0.00s)
    --- PASS: TestOneShot/deleted_file (0.00s)

    I'll investigate shortly.


    Cheers,
    --
    Cyril Brulebois -- Debian Consultant @ DEBAMAX -- https://debamax.com/

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

    iQIzBAABCgAdFiEEHoutkuoaze1Qayc7lZpsmSeGm2EFAmWoLfgACgkQlZpsmSeG m2GpOg//fb4NwAt5Y0wxBtLNoHbn/Wvro7bg3DnUicfzrEB9VVYcMlfuDSHgKe6X RGYH0gNDm1iq1aeqDgDY5CKQyiElH8w4m6/umJtBqkEDOccEB6v8CmHNXKfJh1Qw odLculfWDnm5gBXRiLthFY+LXgtULbV8yExS2YCBmaNLlkTq3Fx68y997aq7jUV+ GbcxcyEERNTWWOJYV+N6L882Upf7Nu8dykijnIlIx4OlOzXTel+vPcl2AMskPa1o Sffoi2JcH6XBMMeJ2BU35DcgRt4I+9aOCqLiJAEucNDQnszKV/jEhbOH8LK+stTy 1RfDbOr/ToSAyH4nzdmbfY7DbiFAYjFexnSVnzKqE9KKq+Zky3pfJWBAgyeokKVF KPZYHbEfF+yr1sm7faDYAassg1/XX77xp5VymXB+zCqafzgrylh9jwxZ82rd8B9b E07UM1QN+HpsPkfLBpD9DB/1+T+Go18wGYCTicB69XpKTPKn4oSD1RBIJp67qJAN 0hRnMMdmMVm/4s84VLitmNB7hhobYM1+TRfXr06SiebKAjvpar08GhUN8vpSRggd hpkT4Mp/94pmkbuV/k8aw3QUToRbSuLNxjQjhKjsBSqN5SDy0V6PKzGh2keFRliv sTvrXK16qnw5+3fWhnjCZOFEbsgafDgKfRTgOAJiKkQzcRinMyM=
    =Z/x3
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Cyril Brulebois@21:1/5 to All on Thu Feb 15 10:20:01 2024
    Hi,

    Cyril Brulebois <cyril@debamax.com> (2024-01-17):
    Santiago Vila <sanvila@debian.org> (2023-12-05):
    […]

    Thanks for the report. The relevant part didn't appear in the excerpt
    so I'm quoting the full build log below:

    === RUN TestOneShot/permission_denied
    file_test.go:234:
    Error Trace: /<<PKGBUILDDIR>>/_build/src/github.com/crowdsecurity/crowdsec/pkg/cstest/utils.go:25
    /<<PKGBUILDDIR>>/_build/src/github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/file/file_test.go:234
    Error: An error is expected but got nil.
    Test: TestOneShot/permission_denied
    === RUN TestOneShot/ignored_directory
    === RUN TestOneShot/glob_syntax_error
    === RUN TestOneShot/no_matching_files
    === RUN TestOneShot/test.log
    === RUN TestOneShot/test.log.gz
    === RUN TestOneShot/unexpected_end_of_gzip_stream
    === RUN TestOneShot/deleted_file
    --- FAIL: TestOneShot (0.00s)
    --- FAIL: TestOneShot/permission_denied (0.00s)
    --- PASS: TestOneShot/ignored_directory (0.00s)
    --- PASS: TestOneShot/glob_syntax_error (0.00s)
    --- PASS: TestOneShot/no_matching_files (0.00s)
    --- PASS: TestOneShot/test.log (0.00s)
    --- PASS: TestOneShot/test.log.gz (0.00s)
    --- PASS: TestOneShot/unexpected_end_of_gzip_stream (0.00s)
    --- PASS: TestOneShot/deleted_file (0.00s)

    Is that problem still current? I cannot reproduce it with a brand new
    sid environment, freshly created via either `pbuilder --create` or `sbuild-createchroot`.


    Cheers,
    --
    Cyril Brulebois -- Debian Consultant @ DEBAMAX -- https://debamax.com/

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

    iQIzBAABCgAdFiEEHoutkuoaze1Qayc7lZpsmSeGm2EFAmXN1ggACgkQlZpsmSeG m2F82RAAihhr5bVm38VfTZEt51pXHvgTwC57U1BLMhTivLdPA67pdVGIQTncFeme MVH1wiDbcoy7+tC/wmTjXwvwe+4YAL3XV2BZ8Q7BqcLiyaB6+ezekAv2G+JLXSPh 8U4tluQ+uBpxRp0Q/uCeh8s5wMVC3Vm7MzxWrHKR//ofJYBP/wzds/1nJS/fxxAF HwM1gX5oriQ+05OWlDja/lgbK9MDpDB0AoT0EpU3tj4xXIS/kik8/IiLDg9orv2c 5ozU2Ulcu5jrQfAkdHI2/gK5U/GQg3LapUrY8IxXufZDqffPVXe9qRIizkYFLcot e/nirtw3sC+g51QUiYifOwuc2Q8kBdx7ZlLvN70JCQJfHy5jthTEqBEdjif7i3c0 Wp3Zi7e/aT9PTQZOrmwUz6x5qATzbNd9q8mU9ksiLI18qK65zcpzr5UHhF2bMH8z w139gPGWRkM6N3SRZniBhByEdyGHghzOxKpT2ahWyd/tMcduyw4M3kovd5Oi7D+c GmwjUR3Y7mMNNZ2WDcKXLOazxjBYLyyKqtJ7qWKzNGz/u+2OiFjBYVTcSNZ8Xne3 tS+kOyerRGeq9XhL4Nlevx7Cj/Yx8Dm95GkBKwsOTzJGQyC8etXmnbloB0yEckvm n4JRo8+m5t6hRu2aZSBsbU7gUusoa6bgZ22e1kWqJgwf0Ozaubs=
    =gtvp
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Thu Mar 14 05:20:01 2024
    Processing control commands:

    tag -1 pending
    Bug #1057549 [src:crowdsec] crowdsec: FTBFS: FAIL: TestOneShot/permission_denied
    Added tag(s) pending.

    --
    1057549: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1057549
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Cyril Brulebois@21:1/5 to All on Thu Mar 14 05:20:01 2024
    Control: tag -1 pending

    Hello,

    Bug #1057549 in crowdsec reported by you has been fixed in the
    Git repository and is awaiting an upload. You can see the commit
    message below and you can check the diff of the fix at:

    https://salsa.debian.org/go-team/packages/crowdsec/-/commit/b2beee2140e7cdb9d4732c4e48a568fce70248ee

    ------------------------------------------------------------------------
    Fix missing build-dependency on passwd (Closes: #1057549).

    Thanks to Santiago Vila for the bug report and the analysis. ------------------------------------------------------------------------

    (this message was generated automatically)
    --
    Greetings

    https://bugs.debian.org/1057549

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