test failed with ".cookie" not found #15733

issue MarcoFalke opened this issue on April 3, 2019
  1. MarcoFalke commented at 9:04 PM on April 3, 2019: member

    Error thrown once:

    FileNotFoundError: [Errno 2] No such file or directory: '/tmp/test_runner_\u20bf_🏃_20190403_152618/wallet_multiwallet_75/node0/regtest/.cookie'
    

    In https://travis-ci.org/bitcoin/bitcoin/jobs/515252355#L4924

  2. fanquake added the label Tests on Apr 3, 2019
  3. fanquake added the label Wallet on Apr 3, 2019
  4. MarcoFalke renamed this:
    wallet_multiwallet test failed with BerkeleyBatch: Can't open database, duplicates fileid
    test failed with ".cookie" not found
    on Apr 4, 2019
  5. MarcoFalke commented at 5:40 PM on April 4, 2019: member

    @promag yes, seems so. This reminds me of the appveyor tests that fail when the .cookie does not have read permissions (yet?)

  6. MarcoFalke removed the label Wallet on Apr 4, 2019
  7. promag commented at 3:31 PM on April 5, 2019: member

    Cookie file is created with a temporary name and then renamed to the final name (see GenerateAuthCookie().

    https://github.com/bitcoin/bitcoin/blob/35991b162fd142d76d83e672002846c8a40eb794/test/functional/test_framework/util.py#L326-L327

    L327 fails but given the previous condition the file exists so I'd say we have to retry - maybe rename at some point prevents other processes to open.

  8. MarcoFalke closed this on Apr 9, 2019

  9. MarcoFalke referenced this in commit f9f6c11a74 on Apr 9, 2019
  10. Munkybooty referenced this in commit 1d76cc7537 on Sep 30, 2021
  11. Munkybooty referenced this in commit 14b7de5618 on Oct 7, 2021
  12. Munkybooty referenced this in commit 13653ffc00 on Oct 12, 2021
  13. Munkybooty referenced this in commit 282dc46401 on Oct 16, 2021
  14. Munkybooty referenced this in commit 114462bbd0 on Oct 20, 2021
  15. Munkybooty referenced this in commit 30454896e6 on Oct 21, 2021
  16. Munkybooty referenced this in commit 42e655517c on Oct 23, 2021
  17. PastaPastaPasta referenced this in commit 7716ff4086 on Oct 24, 2021
  18. PastaPastaPasta referenced this in commit 5aebc257cc on Oct 25, 2021
  19. pravblockc referenced this in commit 767a7d2139 on Nov 18, 2021
  20. 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-17 06:15 UTC

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