You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/home/admin/actions-runner/_work/_temp/src/ipc/libmultiprocess/test/mp/test/test.cpp:5:10: fatal error: 'mp/test/foo.capnp.h' file not found
5 |#include <mp/test/foo.capnp.h>| ^~~~~~~~~~~~~~~~~~~~~
Along with other sporadic error output:
[1](https://github.com/bitcoin/bitcoin/actions/runs/26292243180/job/77395542650#step:11:11661)
error: no such file or directory: '/home/admin/actions-runner/_work/_temp/build/src/ipc/capnp/common.capnp.c++'
error: no input files
error: unable to handle compilation, expected exactly one compiler job in''
error: no such file or directory: '/home/admin/actions-runner/_work/_temp/build/src/ipc/capnp/common.capnp.proxy-client.c++'
error: no input files
error: unable to handle compilation, expected exactly one compiler job in''
error: no such file or directory: '/home/admin/actions-runner/_work/_temp/build/src/ipc/capnp/common.capnp.proxy-server.c++'
error: no input files
error: unable to handle compilation, expected exactly one compiler job in''
error: no such file or directory: '/home/admin/actions-runner/_work/_temp/build/src/ipc/capnp/common.capnp.proxy-types.c++'
error: no input files
Ideally we'd have no sporadic errors / output, and wouldn't be trying to run linters/tools over subtrees at all.
I think that any errors in CI output/tooling should also be getting turned into real errors, so that they aren't missed/ignored?
It's also not clear to me why these errors would be sporadic, unless maybe they happen due to build jobs running in parallel and a dependency not being specified. Would be curious for an update.
seems to point to a successful CI run, so wondering if something might have fixed this
I'm finally understanding the problem now. The issue being reported is an error that shows up in the CI log files but does NOT cause the CI job to fail. You can see it by clicking the CI link in the issue description, clicking gear icon, choosing "View raw logs" and then searching for "fatal error." (For whatever reason searching for "fatal error" in the search box on the GitHub actions page does not seem to work for me.)
Also, the issue is not sporadic. You can see it in CI jobs running on the current master branch.
Different fixes are required for the different errors:
src/init.cpp:124:10: fatal error: 'node/data/ip_asn.dat.h' file not found
src/rpc/net.cpp:21:10: fatal error: 'node/data/ip_asn.dat.h' file not found
src/ipc/libmultiprocess/include/mp/proxy-io.h:11:10: fatal error: 'mp/proxy.capnp.h' file not found
src/ipc/libmultiprocess/test/mp/test/test.cpp:5:10: fatal error: 'mp/test/foo.capnp.h' file not found
src/ipc/capnp/protocol.cpp:7:10: fatal error: 'ipc/capnp/init.capnp.h' file not found
src/ipc/capnp/mining-types.h:9:10: fatal error: 'ipc/capnp/common.capnp.proxy-types.h' file not found
src/ipc/test/ipc_test.cpp:6:10: fatal error: 'ipc/capnp/mining.capnp.h' file not found
src/bench/asmap.cpp:8:10: fatal error: 'node/data/ip_asn.dat.h' file not found
Fixing the ip_asn.dat.h error will require either:
Not marking bitcoin_node library EXCLUDE_FROM_ALL (I'm actually not sure why it is marked EXCLUDE_FROM_ALL) or
Adding an add_custom_target line to target_raw_data_sources and generating the header before invoking IWYU like #35468 or
Fixing the libmultiprocess errors will require either
Excluding entire libmultiprocess library from clang-tidy and IWYU checks with set(CMAKE_EXPORT_COMPILE_COMMANDS OFF) as suggested #35418 (review).
Excluding only mptest from clang-tidy and IWYU checks with #35418 plus #35454 to fix the error when BUILD_TESTS is off, as reported in #35523.
Excluding only mptest from clang-tidy and IWYU checks with an alternate approach suggested #35523 (review) which is equivalent but probably more confusing.
I believe the only fix that's been attempted to fix errors inside of src/ipc/ but outside of src/ipc/libmultiprocoess/ is #35468 but I think other approaches could be possible like setting EXPORT_COMPILE_COMMANDS there or filtering the compilation database with jq.
IMO, the best approach is to extend #35468 to generate the headers needed by the IWYU job before IWYU runs and stop trying to override EXPORT_COMPILE_COMMANDS and EXCLUDE_FROM_ALL settings to control what files the IWYU job sees and checks.
Closing, as the items in the issue have been solved.
For details, the fixes were:
#35468 builds generated headers targets before running IWYU, fixing the libmultiprocess and src/ipc/capnp errors. This is approach 4 for the libmultiprocess errors suggested previously, and replaces #35418 (approach 2), which was reverted in #35523. It also fixes the no input files errors, since building the header targets generates the .c++ files those compile commands refer to.
#36228 adds a bitcoin_node_raw_data_headers target and builds it before running IWYU, fixing the node/data/ip_asn.dat.h errors. This is approach 2 for the ip_asn.dat.h errors suggested previously.
Two things from the original report are still open:
IWYU still runs over src/ipc/libmultiprocess/, which is addressed in #36252.
Some errors from CI output/tooling are still not treated as CI failures, and this is addressed in #36235.
Activity
fanquake commentedon May 22, 2026
cc @hebasto @ryanofsky
ryanofsky commentedon May 28, 2026
https://github.com/bitcoin/bitcoin/actions/runs/26292243180/job/77395542650 seems to point to a successful CI run, so wondering if something might have fixed this, or if it succeeded because the errors are sporadic.
It's also not clear to me why these errors would be sporadic, unless maybe they happen due to build jobs running in parallel and a dependency not being specified. Would be curious for an update.
maflcko commentedon May 28, 2026
I think the link should have been https://github.com/bitcoin/bitcoin/actions/runs/26292243180/job/77395542650#step:11:7602 or https://github.com/bitcoin/bitcoin/actions/runs/26292243180/job/77395542650#step:11:11354 (with the line number in it)? (grep for
fatal error)hebasto commentedon May 29, 2026
Related: bitcoin-core/libmultiprocess#284.
hebasto commentedon Jun 3, 2026
Regarding the
fatal error: 'node/data/ip_asn.dat.h' file not foundissue, please see https://gitlab.kitware.com/cmake/cmake/-/work_items/27862.Merge bitcoin#35418: build: exclude mptest target from compile commands
ryanofsky commentedon Jun 15, 2026
I'm finally understanding the problem now. The issue being reported is an error that shows up in the CI log files but does NOT cause the CI job to fail. You can see it by clicking the CI link in the issue description, clicking gear icon, choosing "View raw logs" and then searching for "fatal error." (For whatever reason searching for "fatal error" in the search box on the GitHub actions page does not seem to work for me.)
Also, the issue is not sporadic. You can see it in CI jobs running on the current master branch.
Different fixes are required for the different errors:
Fixing the ip_asn.dat.h error will require either:
add_custom_targetline to target_raw_data_sources and generating the header before invoking IWYU like #35468 orFixing the libmultiprocess errors will require either
set(CMAKE_EXPORT_COMPILE_COMMANDS OFF)as suggested #35418 (review).mptestfrom clang-tidy and IWYU checks with #35418 plus #35454 to fix the error whenBUILD_TESTSis off, as reported in #35523.mptestfrom clang-tidy and IWYU checks with an alternate approach suggested #35523 (review) which is equivalent but probably more confusing.I believe the only fix that's been attempted to fix errors inside of
src/ipc/but outside ofsrc/ipc/libmultiprocoess/is #35468 but I think other approaches could be possible like settingEXPORT_COMPILE_COMMANDSthere or filtering the compilation database with jq.IMO, the best approach is to extend #35468 to generate the headers needed by the IWYU job before IWYU runs and stop trying to override EXPORT_COMPILE_COMMANDS and EXCLUDE_FROM_ALL settings to control what files the IWYU job sees and checks.
ci, iwyu: Request IPC file generation explicitly
ci, iwyu: Request IPC file generation explicitly
ci, iwyu: Request IPC file generation explicitly
ci, iwyu: Request IPC file generation explicitly
Merge #35468: ci, iwyu: Request IPC file generation explicitly
Merge #36228: ci, iwyu: generate embedded ASMap header explicitly
ci, iwyu: Request IPC file generation explicitly
Merge bitcoin/bitcoin#35468: ci, iwyu: Request IPC file generation ex…
fanquake commentedon Sep 14, 2026
Closing, as the items in the issue have been solved.
ci, iwyu: skip subtrees in compilation database
ryanofsky commentedon Sep 14, 2026
For details, the fixes were:
src/ipc/capnperrors. This is approach 4 for the libmultiprocess errors suggested previously, and replaces #35418 (approach 2), which was reverted in #35523. It also fixes theno input fileserrors, since building the header targets generates the.c++files those compile commands refer to.bitcoin_node_raw_data_headerstarget and builds it before running IWYU, fixing thenode/data/ip_asn.dat.herrors. This is approach 2 for theip_asn.dat.herrors suggested previously.Two things from the original report are still open:
src/ipc/libmultiprocess/, which is addressed in #36252.Merge #36235: ci: fail iwyu job on compiler errors instead of silentl…
ci, iwyu: fail job on compiler errors instead of ignoring them
ci, iwyu: Request IPC file generation explicitly
ci, iwyu: fail job on compiler errors instead of ignoring them
Merge #36252: ci, iwyu: skip subtrees in compilation database