raulcd commented on PR #39502:
URL: https://github.com/apache/arrow/pull/39502#issuecomment-1884921996

   > Can we show full backtrace on error? It may provide more useful 
information.
   
   I am trying to get more info but to be honest the backtrace I am able to get 
doesn't give any useful info as I am getting the Python stack trace:
   ```
   (Pdb) print_stack(exc_tb.tb_frame)
     File "/tmp/arrow-HEAD.w0jZv/venv-source/bin/archery", line 8, in <module>
       sys.exit(archery())
     File 
"/tmp/arrow-HEAD.w0jZv/venv-source/lib64/python3.11/site-packages/click/core.py",
 line 1157, in __call__
       return self.main(*args, **kwargs)
     File 
"/tmp/arrow-HEAD.w0jZv/venv-source/lib64/python3.11/site-packages/click/core.py",
 line 1078, in main
       rv = self.invoke(ctx)
     File 
"/tmp/arrow-HEAD.w0jZv/venv-source/lib64/python3.11/site-packages/click/core.py",
 line 1688, in invoke
       return _process_result(sub_ctx.command.invoke(sub_ctx))
     File 
"/tmp/arrow-HEAD.w0jZv/venv-source/lib64/python3.11/site-packages/click/core.py",
 line 1434, in invoke
       return ctx.invoke(self.callback, **ctx.params)
     File 
"/tmp/arrow-HEAD.w0jZv/venv-source/lib64/python3.11/site-packages/click/core.py",
 line 783, in invoke
       return __callback(*args, **kwargs)
     File "/arrow/dev/archery/archery/cli.py", line 800, in integration
       run_all_tests(**args)
     File "/arrow/dev/archery/archery/integration/runner.py", line 653, in 
run_all_tests
       log(f'{exc_type}: {exc_value} \n{exc_tb.extract_stack()}')
     File "/arrow/dev/archery/archery/integration/runner.py", line 130, in 
run_c_data
       log('\n')
     File "/arrow/dev/archery/archery/integration/runner.py", line 426, in 
_compare_c_data_implementations
       with producer.make_c_data_exporter() as exporter:
     File "/arrow/dev/archery/archery/integration/runner.py", line 208, in 
_run_test_cases
       for outcome in map(case_wrapper, test_cases):
     File "/arrow/dev/archery/archery/integration/runner.py", line 197, in 
case_wrapper
       return case_runner(test_case)
     File "/arrow/dev/archery/archery/integration/runner.py", line 480, in 
_run_c_schema_test_case
       return outcome
   (Pdb) from traceback import extract_stack
   (Pdb) extract_stack(exc_tb.tb_frame)
   [<FrameSummary file /tmp/arrow-HEAD.w0jZv/venv-source/bin/archery, line 8 in 
<module>>, <FrameSummary file 
/tmp/arrow-HEAD.w0jZv/venv-source/lib64/python3.11/site-packages/click/core.py, 
line 1157 in __call__>, <FrameSummary file 
/tmp/arrow-HEAD.w0jZv/venv-source/lib64/python3.11/site-packages/click/core.py, 
line 1078 in main>, <FrameSummary file 
/tmp/arrow-HEAD.w0jZv/venv-source/lib64/python3.11/site-packages/click/core.py, 
line 1688 in invoke>, <FrameSummary file 
/tmp/arrow-HEAD.w0jZv/venv-source/lib64/python3.11/site-packages/click/core.py, 
line 1434 in invoke>, <FrameSummary file 
/tmp/arrow-HEAD.w0jZv/venv-source/lib64/python3.11/site-packages/click/core.py, 
line 783 in invoke>, <FrameSummary file /arrow/dev/archery/archery/cli.py, line 
800 in integration>, <FrameSummary file 
/arrow/dev/archery/archery/integration/runner.py, line 653 in run_all_tests>, 
<FrameSummary file /arrow/dev/archery/archery/integration/runner.py, line 130 
in run_c_data>, <FrameSummary file /arrow/dev/ar
 chery/archery/integration/runner.py, line 426 in 
_compare_c_data_implementations>, <FrameSummary file 
/arrow/dev/archery/archery/integration/runner.py, line 208 in _run_test_cases>, 
<FrameSummary file /arrow/dev/archery/archery/integration/runner.py, line 197 
in case_wrapper>, <FrameSummary file 
/arrow/dev/archery/archery/integration/runner.py, line 480 in 
_run_c_schema_test_case>]
   ```
   
   If someone has any idea on what can I try.
   
   As per the release, should this be a blocker or are we ok if we do not run 
`c-data` integration tests for 15.0.0?
   ```diff
   diff --git a/dev/release/verify-release-candidate.sh 
b/dev/release/verify-release-candidate.sh
   index ebdb493..861824f 100755
   --- a/dev/release/verify-release-candidate.sh
   +++ b/dev/release/verify-release-candidate.sh
   @@ -919,7 +919,7 @@ test_integration() {
    
      # Flight integration test executable have runtime dependency on 
release/libgtest.so
      LD_LIBRARY_PATH=$ARROW_CPP_EXE_PATH:$LD_LIBRARY_PATH archery integration \
   -    --run-ipc --run-flight --run-c-data \
   +    --run-ipc --run-flight \
        --with-cpp=${TEST_INTEGRATION_CPP} \
        --with-java=${TEST_INTEGRATION_JAVA} \
        --with-js=${TEST_INTEGRATION_JS} \
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to