apache / apache/arrow

[C++] Arrow failed to run arrow-array-test and arrow-ipc-read-write-test on release and debug configuration with MSVC on windows

Open
#33,176 1 comment 0 reactions 0 assignees View on GitHub
Component: C++ Type: bug
Dominant language
C++
Stars
17.1k
Forks
4.3k
Avg merge
3d 18h
Merged PRs (30d)
91

Description

Hi All,

Arrow failed to run arrow-array-test on release configuration and failed to run arrow-array-test and arrow-ipc-read-write-test on debug configuration with MSVC on windows. it can be reproduced on d449d15 on master branch. Could you please help look at this issue?

 

Repro steps:
1. git clone F:\gitP\apache\arrow
1. cd F:\gitP\apache\arrow\cpp\build_amd64
1. cmake -G "Visual Studio 16 2019" -A x64 -DCMAKE_SYSTEM_VERSION=10.0.18362.0 -DCMAKE_BUILD_TYPE=Debug -DARROW_BUILD_TESTS=ON -DBOOST_ROOT=F:\tools\boost_1_77_0\x64 .. 2>&1
1. msbuild /maxcpucount:1 /p:Platform=x64 /p:Configuration=Debug arrow.sln /t:Rebuild 2>&1
1. set ARROW_TEST_DATA=F:\gitP\apache\arrow\testing\data
1. ctest -C Debug --output-on-failure --verbose 2>&1

 

Error info:

92% tests passed, 2 tests failed out of 26

Label Time Summary:
arrow-tests    =  79.99 sec\*proc (26 tests)
unittest       =  79.99 sec\*proc (26 tests)

Total Test time (real) =  80.54 sec

The following tests FAILED:
      1 - arrow-array-test (Failed)
     24 - arrow-ipc-read-write-test (Failed)

**Environment**: VS 2019 + Windows Server 2019
**Reporter**: [Feng Nan Wei](https://issues.apache.org/jira/browse/ARROW-17968)
#### Original Issue Attachments:
- [ctest_debug.log](https://issues.apache.org/jira/secure/attachment/13050170/ctest_debug.log)

**Note**: *This issue was originally created as [ARROW-17968](https://issues.apache.org/jira/browse/ARROW-17968). Please see the [migration documentation](https://github.com/apache/arrow/issues/14542) for further details.*

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the failure in cpp/build_amd64 with the provided CMake, MSBuild, and ctest commands, using ctest_debug.log for the reported output. Investigate why arrow-array-test and arrow-ipc-read-write-test fail under MSVC on Windows, then verify that both Debug and Release configurations pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, cpp
Domain
build-system, operating-systems, testing
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.