Path error messages while executing test_bitcoin #15944

issue ghost opened this issue on May 3, 2019
  1. ghost commented at 5:58 AM on May 3, 2019: none

    Compiled bitcoin-0.18.0.tar.gz from https://bitcoin.org/bin/bitcoin-core-0.18.0/ on Ubuntu 18.04.2 LTS (using this (simple) bash script). The compilation went well (had to add doxygen to suppress a warning message). When running the test: test_bitcoin in bitcoin-0.18.0/src/test/, I get the following error messages (multiple times):

    Error: Specified -walletdir "/tmp/test_bitcoin/1556861148_943311758/tempdir/path_does_not_exist" does not exist

    and

    Error: Specified -walletdir "/tmp/test_bitcoin/1556861730_643733972/tempdir/not_a_directory.dat" is not a directory

    and

    Error: Specified -walletdir "wallets" is a relative path

    Note that at the end it still says: *** No errors detected

  2. MarcoFalke added the label Tests on May 3, 2019
  3. MarcoFalke commented at 12:22 PM on May 3, 2019: member

    I believe this is an InitError, which are logged to the debug.log as well as stdout (or stderr, I don't recall).

    To avoid the error to appear you could maybe disconnect the ui slot temporarily?

  4. practicalswift commented at 12:48 PM on May 3, 2019: contributor

    @sumBTC The erroneous repetition of error messages was fixed in #15352 - after that you should only get one error message per error.

    Regarding the other issue (the -walletdir errors): I agree that passing tests should be silent. This should be fixed :-)

    Thanks for reporting!

    FWIW, also noted here: #14430 (comment). These error messages are a source of confusion.

  5. jonasnick commented at 2:40 PM on May 3, 2019: contributor

    Fwiw, I'm seeing the same output (repeated does not exist, is not a directory, is a relative path) when running test_bitcoin from the binary release on archlinux.

  6. ghost commented at 3:55 PM on May 3, 2019: none

    @practicalswift

    agree that passing tests should be silent.

    that's indeed why I reported this :-), I don't think the errors are very serious but they are a bit "all over the screen". Thanks for the feedback!

  7. MarcoFalke added the label good first issue on May 3, 2019
  8. 0xB10C commented at 3:16 PM on May 4, 2019: member

    For context:

    Comment on this from @PierreRochard in his PR that implemented the test cases #14146 (comment)

  9. l2a5b1 referenced this in commit d84a7f5e62 on Jul 12, 2019
  10. l2a5b1 referenced this in commit e0bd293fe0 on Jul 22, 2019
  11. laanwj closed this on Aug 1, 2019

  12. laanwj referenced this in commit e653eeff76 on Aug 1, 2019
  13. sidhujag referenced this in commit a7bfd259ad on Aug 1, 2019
  14. MarcoFalke locked this on Dec 16, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-14 18:14 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me