Skip to content

[C++] 20 Re2 tests failed to run due to the executable files doesn't generate #49834

Closed

Description

@PhoebeHui

Describe the bug, including details regarding any error messages, version, and platform.

20 Re2 tests failed to run due to the executable files doesn't generate, this is regression issues and haven't occur in old commit 56e3836.

Repro Steps:

  1. Open VS2022 x64 Native Command Prompt tools
  2. Clone repo and checkout d7a02c1
  3. cd to build folder: cd /d C:\gitP\apache\arrow\cpp\build_amd64
  4. cmake -G "Visual Studio 17 2022" -A x64 -DCMAKE_SYSTEM_VERSION=10.0.26100.0 -DARROW_BUILD_TESTS=ON -DARROW_ACERO=ON -DARROW_FILESYSTEM=ON -DARROW_PARQUET=OFF -DARROW_SUBSTRAIT=ON -DARROW_DATASET=ON ..
  5. msbuild /m /p:Platform=x64 /p:Configuration=Release arrow.sln /t:Rebuild
  6. set ARROW_TEST_DATA=C:\gitP\apache\arrow\testing\data
  7. ctest -C Release --output-on-failure -R "charclass_test"

Failures:
The following tests FAILED:
1 - charclass_test (Not Run)
2 - compile_test (Not Run)
3 - filtered_re2_test (Not Run)
4 - mimics_pcre_test (Not Run)
5 - parse_test (Not Run)
6 - possible_match_test (Not Run)
7 - re2_test (Not Run)
8 - re2_arg_test (Not Run)
9 - regexp_test (Not Run)
10 - required_prefix_test (Not Run)
11 - search_test (Not Run)
12 - set_test (Not Run)
13 - simplify_test (Not Run)
14 - string_generator_test (Not Run)
15 - dfa_test (Not Run)
16 - exhaustive1_test (Not Run)
17 - exhaustive2_test (Not Run)
18 - exhaustive3_test (Not Run)
19 - exhaustive_test (Not Run)
20 - random_test (Not Run)

Test project C:/gitP/apache/arrow/cpp/build_amd64
Start 1: charclass_test
Could not find executable C:/gitP/apache/arrow/cpp/build_amd64/_deps/re2-build/Release/charclass_test.exe
Looked in the following places:
C:/gitP/apache/arrow/cpp/build_amd64/_deps/re2-build/Release/charclass_test.exe
C:/gitP/apache/arrow/cpp/build_amd64/_deps/re2-build/Release/charclass_test.exe.exe
C:/gitP/apache/arrow/cpp/build_amd64/_deps/re2-build/Release/Release/charclass_test.exe
C:/gitP/apache/arrow/cpp/build_amd64/_deps/re2-build/Release/Release/charclass_test.exe.exe
Release/C:/gitP/apache/arrow/cpp/build_amd64/_deps/re2-build/Release/charclass_test.exe
Release/C:/gitP/apache/arrow/cpp/build_amd64/_deps/re2-build/Release/charclass_test.exe.exe
Unable to find executable: C:/gitP/apache/arrow/cpp/build_amd64/_deps/re2-build/Release/charclass_test.exe
1/105 Test #1: charclass_test ........................***Not Run 0.00 sec
Start 2: compile_test
Could not find executable C:/gitP/apache/arrow/cpp/build_amd64/_deps/re2-build/Release/compile_test.exe
Looked in the following places:
C:/gitP/apache/arrow/cpp/build_amd64/_deps/re2-build/Release/compile_test.exe
C:/gitP/apache/arrow/cpp/build_amd64/_deps/re2-build/Release/compile_test.exe.exe
C:/gitP/apache/arrow/cpp/build_amd64/_deps/re2-build/Release/Release/compile_test.exe
C:/gitP/apache/arrow/cpp/build_amd64/_deps/re2-build/Release/Release/compile_test.exe.exe
Release/C:/gitP/apache/arrow/cpp/build_amd64/_deps/re2-build/Release/compile_test.exe
Release/C:/gitP/apache/arrow/cpp/build_amd64/_deps/re2-build/Release/compile_test.exe.exe
Unable to find executable: C:/gitP/apache/arrow/cpp/build_amd64/_deps/re2-build/Release/compile_test.exe
2/105 Test #2: compile_test ..........................***Not Run 0.00 sec
Start 3: filtered_re2_test
Could not find executable C:/gitP/apache/arrow/cpp/build_amd64/_deps/re2-build/Release/filtered_re2_test.exe
Looked in the following places:
C:/gitP/apache/arrow/cpp/build_amd64/_deps/re2-build/Release/filtered_re2_test.exe
C:/gitP/apache/arrow/cpp/build_amd64/_deps/re2-build/Release/filtered_re2_test.exe.exe
C:/gitP/apache/arrow/cpp/build_amd64/_deps/re2-build/Release/Release/filtered_re2_test.exe
C:/gitP/apache/arrow/cpp/build_amd64/_deps/re2-build/Release/Release/filtered_re2_test.exe.exe
Release/C:/gitP/apache/arrow/cpp/build_amd64/_deps/re2-build/Release/filtered_re2_test.exe
Release/C:/gitP/apache/arrow/cpp/build_amd64/_deps/re2-build/Release/filtered_re2_test.exe.exe
Unable to find executable: C:/gitP/apache/arrow/cpp/build_amd64/_deps/re2-build/Release/filtered_re2_test.exe
...

Component(s)

C++

Activity

  1. changed the title [-]20 Re2 tests failed to run due to the executable files doesn't generate[/-] [+][C++] 20 Re2 tests failed to run due to the executable files doesn't generate[/+] on Apr 27, 2026
  2. kou commented on Apr 27, 2026

    @kou
    Member

    Could you try the latest release?

  3. kou commented on Apr 27, 2026

    @kou
    Member

    Ah, "20" means the number of tests. I thought Apache Arrow 20.0.0.

  4. kou commented on Apr 27, 2026

    @kou
    Member

    It's strange that ctest runs RE2 tests.

    Could you try git bisect to detect the exact commit for this problem?

  5. PhoebeHui commented on May 6, 2026

    @PhoebeHui
    Author

    Thanks @kou for your help! It looks the Re2 tests involved by commit f8ae141, the generated arrow\cpp\build_amd64\CTestTestfile.cmake contains _deps/re2-build folder starts from this commit.

    Image
  6. kou commented on May 7, 2026

    @kou
    Member

    Thanks.

    Could you share the content of arrow\cpp\build_amd64\_deps\re2-build\CTestTestfile.cmake?

  7. PhoebeHui commented on May 7, 2026

    @PhoebeHui
    Author

    Sure

    arrow\cpp\build_amd64_deps\re2-build\CTestTestfile.cmake file generated by commit f8ae141

    # CMake generated Testfile for 
    # Source directory: C:/gitP/apache/arrow/cpp
    # Build directory: C:/gitP/apache/arrow/cpp/build_amd64
    # 
    # This file includes the relevant testing commands required for 
    # testing this directory and lists subdirectories to be tested as well.
    subdirs("_deps/boost-build")
    subdirs("_deps/thrift-build")
    subdirs("_deps/googletest-build")
    subdirs("_deps/re2-build")
    subdirs("src/arrow")
    subdirs("src/parquet")
    subdirs("tools/parquet")
    
    

    arrow\cpp\build_amd64_deps\re2-build\CTestTestfile.cmake file generated by commit 56e3836

    # CMake generated Testfile for 
    # Source directory: C:/gitP/apache_bak/old/arrow/cpp
    # Build directory: C:/gitP/apache_bak/old/arrow/cpp/build_amd64
    # 
    # This file includes the relevant testing commands required for 
    # testing this directory and lists subdirectories to be tested as well.
    subdirs("_deps/boost-build")
    subdirs("_deps/thrift-build")
    subdirs("_deps/googletest-build")
    subdirs("src/arrow")
    subdirs("src/parquet")
    subdirs("tools/parquet")
    
  8. added a commit that references this issue on Jun 11, 2026
  9. added this to the 25.0.0 milestone on Jun 11, 2026
  10. kou commented on Jun 11, 2026

    @kou
    Member

    Issue resolved by pull request 50152
    #50152

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions