You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "pitrou (via GitHub)" <gi...@apache.org> on 2024/04/15 16:40:01 UTC

[I] [CI][Python] Upload Hypothesis example database as artifact [arrow]

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

   ### Describe the enhancement requested
   
   Hypothesis tests use randomly-generated input data. When the data triggers a crash such as [here](https://github.com/ursacomputing/crossbow/actions/runs/8682389434/job/23806853642#step:7:5562), hypothesis to print out the seed for reproduction purposes.
   
   In these cases, it may be useful for the [example database](https://hypothesis.readthedocs.io/en/latest/database.html) to be uploaded as a CI artifact. Presumably, that would allow for local reproduction by a developer.
   
   ### Component(s)
   
   Continuous Integration, 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


Re: [I] [CI][Python] Upload Hypothesis example database as artifact [arrow]

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

   @jorisvandenbossche @raulcd 


-- 
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


Re: [I] [CI][Python] Upload Hypothesis example database as artifact [arrow]

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

   Hmm, I see. Uploading the example database wouldn't really help then. Too bad...


-- 
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


Re: [I] [CI][Python] Upload Hypothesis example database as artifact [arrow]

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

   From a previous time that I looked into some hypothesis failures, I seem to remember that even when the crash only happens during the test itself and not before, it does not print information or add the example to the database (in case of a _crash_ and not a normal test failure). 
   At least that's what I wrote in https://github.com/HypothesisWorks/hypothesis/issues/3487 a while ago. The suggestion from that issue is to run the tests in a subprocess, which I suppose might help for crashes during a test, but maybe still not for crashes during data generation like the example from this issue.


-- 
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


Re: [I] [CI][Python] Upload Hypothesis example database as artifact [arrow]

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

   In the aforementioned CI run, though, the crash seems to occur when generating the input data itself, so obviously it could not have been written out to the example database.


-- 
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


Re: [I] [CI][Python] Upload Hypothesis example database as artifact [arrow]

Posted by "pitrou (via GitHub)" <gi...@apache.org>.
pitrou closed issue #41214: [CI][Python] Upload Hypothesis example database as artifact
URL: https://github.com/apache/arrow/issues/41214


-- 
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