You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "lidavidm (via GitHub)" <gi...@apache.org> on 2023/03/27 13:34:24 UTC

[GitHub] [arrow] lidavidm opened a new issue, #34743: [Python] `test_flight.test_generic_options` is consistently failing on `AMD64 MacOS Python 3`

lidavidm opened a new issue, #34743:
URL: https://github.com/apache/arrow/issues/34743

   ### Describe the bug, including details regarding any error messages, version, and platform.
   
   Observed over several PRs/main
   
   ```
   =================================== FAILURES ===================================
   _____________________________ test_generic_options _____________________________
   
       @pytest.mark.requires_testing_data
       def test_generic_options():
           """Test setting generic client options."""
           certs = example_tls_certs()
       
           with ConstantFlightServer(tls_certificates=certs["certificates"]) as s:
               # Try setting a string argument that will make requests fail
               options = [("grpc.ssl_target_name_override", "fakehostname")]
               client = flight.connect(('localhost', s.port),
                                       tls_root_certs=certs["root_cert"],
                                       generic_options=options)
               with pytest.raises(flight.FlightUnavailableError):
                   client.do_get(flight.Ticket(b'ints'))
               client.close()
               # Try setting an int argument that will make requests fail
               options = [("grpc.max_receive_message_length", 32)]
               client = flight.connect(('localhost', s.port),
                                       tls_root_certs=certs["root_cert"],
                                       generic_options=options)
               with pytest.raises(pa.ArrowInvalid):
   >               client.do_get(flight.Ticket(b'ints'))
   
   /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/pyarrow/tests/test_flight.py:2049: 
   _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
   pyarrow/_flight.pyx:1558: in pyarrow._flight.FlightClient.do_get
       ???
   _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
   
   >   ???
   E   pyarrow._flight.FlightCancelledError: Flight cancelled call, with message: CANCELLED. gRPC client debug context: UNKNOWN:Error received from peer localhost:49538 {grpc_message:"CANCELLED", grpc_status:1, created_time:"2023-03-27T02:01:16.228276+00:00"}. Client context: IOError: Server never sent a data message. Detail: Internal
   
   pyarrow/_flight.pyx:62: FlightCancelledError
   ----------------------------- Captured stderr call -----------------------------
   E0327 02:01:16.198457000 123145459277824 ssl_transport_security.cc:1854] No match found for server name: fakehostname.
   E0327 02:01:16.208685000 123145459277824 ssl_transport_security.cc:1854] No match found for server name: fakehostname.
   ```
   
   ### Component(s)
   
   Python


-- 
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: issues-unsubscribe@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow] lidavidm commented on issue #34743: [Python] `test_flight.test_generic_options` is consistently failing on `AMD64 MacOS Python 3`

Posted by "lidavidm (via GitHub)" <gi...@apache.org>.
lidavidm commented on issue #34743:
URL: https://github.com/apache/arrow/issues/34743#issuecomment-1485456922

   I'm unable to reproduce this on aarch64 macOS, though.


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow] wjones127 commented on issue #34743: [Python] `test_flight.test_generic_options` is consistently failing on `AMD64 MacOS Python 3`

Posted by "wjones127 (via GitHub)" <gi...@apache.org>.
wjones127 commented on issue #34743:
URL: https://github.com/apache/arrow/issues/34743#issuecomment-1490847565

   @lidavidm I'll take a look on my Intel Mac


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow] lidavidm commented on issue #34743: [Python] `test_flight.test_generic_options` is consistently failing on `AMD64 MacOS Python 3`

Posted by "lidavidm (via GitHub)" <gi...@apache.org>.
lidavidm commented on issue #34743:
URL: https://github.com/apache/arrow/issues/34743#issuecomment-1490882167

   I put up a PR to just relax the condition already, anyways


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow] wjones127 closed issue #34743: [Python] `test_flight.test_generic_options` is consistently failing on `AMD64 MacOS Python 3`

Posted by "wjones127 (via GitHub)" <gi...@apache.org>.
wjones127 closed issue #34743: [Python] `test_flight.test_generic_options` is consistently failing on `AMD64 MacOS Python 3`
URL: https://github.com/apache/arrow/issues/34743


-- 
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: issues-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org