config.ini headers missing causes test framework failure #33588

pull bavani-2024-aia wants to merge 2 commits into bitcoin:master from bavani-2024-aia:master changing 2 files +73 −0
  1. bavani-2024-aia commented at 5:00 PM on October 9, 2025: none

    The functional tests in the repository fail because the config.ini file is missing proper section headers, causing the test framework to throw a MissingSectionHeaderError.

    This occurs when running tests like mempool_ephemeral_dust.py, producing the following error:

    configparser.MissingSectionHeaderError: File contains no section headers. file: '.../test/config.ini', line: 1 '[environment]\n'

    The root cause is either a missing [environment] header or an invisible BOM (Byte Order Mark) character at the beginning of the file.

    Solution:

    Ensure config.ini starts with a proper [environment] header.

    Remove any invisible BOM characters.

    Correct example of config.ini:

    [environment] rpcuser=user rpcpassword=pass rpcport=18443

    This change allows the functional tests to read the configuration properly and run without errors.

  2. Add files via upload 7e51bb0b9f
  3. Add files via upload 2f219c69a8
  4. DrahtBot commented at 5:00 PM on October 9, 2025: contributor

    ♻️ Automatically closing for now based on heuristics. Please leave a comment, if this was erroneous. Generally, please focus on creating high-quality, original content that demonstrates a clear understanding of the project's requirements and goals.

  5. DrahtBot closed this on Oct 9, 2025

  6. DrahtBot commented at 5:00 PM on October 9, 2025: contributor

    <!--e57a25ab6845829454e8d69fc972939a-->

    The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

    <!--006a51241073e994b41acfe9ec718e94-->

    Code Coverage & Benchmarks

    For details see: https://corecheck.dev/bitcoin/bitcoin/pulls/33588.

    <!--021abf342d371248e50ceaed478a90ca-->

    Reviews

    See the guideline for information on the review process. A summary of reviews will appear here.

    <!--5faf32d7da4f0f540f40219e4f7537a3-->

  7. bitcoin locked this on Oct 9, 2025

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-29 03:13 UTC

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