-
Notifications
You must be signed in to change notification settings - Fork 586
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test_can_turn_off_subarrays is flaky #1798
Comments
|
I've never seen this in the two months since #1803. Yay heisenbugs I guess? |
|
Closing this as I can't reproduce it and haven't seen it since #1803. |
|
We finally saw this happen on Windows 64bit, Python 2.7! File "D:\a\1\s\hypothesis-python\tests\numpy\test_gen_data.py", line 214, in test_np_dtype_is_idempotent
def test_np_dtype_is_idempotent(dtype):
File "c:\hostedtoolcache\windows\python\2.7.14\x64\lib\site-packages\hypothesis\core.py", line 987, in wrapped_test
state.run()
File "c:\hostedtoolcache\windows\python\2.7.14\x64\lib\site-packages\hypothesis\core.py", line 660, in run
runner.run()
File "c:\hostedtoolcache\windows\python\2.7.14\x64\lib\site-packages\hypothesis\internal\conjecture\engine.py", line 398, in run
self._run()
File "c:\hostedtoolcache\windows\python\2.7.14\x64\lib\site-packages\hypothesis\internal\conjecture\engine.py", line 769, in _run
self.generate_new_examples()
File "c:\hostedtoolcache\windows\python\2.7.14\x64\lib\site-packages\hypothesis\internal\conjecture\engine.py", line 753, in generate_new_examples
self.test_function(data)
File "c:\hostedtoolcache\windows\python\2.7.14\x64\lib\site-packages\hypothesis\internal\conjecture\engine.py", line 144, in test_function
self.__stoppable_test_function(data)
File "c:\hostedtoolcache\windows\python\2.7.14\x64\lib\site-packages\hypothesis\internal\conjecture\engine.py", line 127, in __stoppable_test_function
self._test_function(data)
File "c:\hostedtoolcache\windows\python\2.7.14\x64\lib\site-packages\hypothesis\core.py", line 626, in evaluate_test_data
escalate_hypothesis_internal_error()
File "c:\hostedtoolcache\windows\python\2.7.14\x64\lib\site-packages\hypothesis\core.py", line 606, in evaluate_test_data
result = self.execute(data)
File "c:\hostedtoolcache\windows\python\2.7.14\x64\lib\site-packages\hypothesis\core.py", line 571, in execute
result = self.test_runner(data, run)
File "c:\hostedtoolcache\windows\python\2.7.14\x64\lib\site-packages\hypothesis\executors.py", line 56, in default_new_style_executor
return function(data)
File "c:\hostedtoolcache\windows\python\2.7.14\x64\lib\site-packages\hypothesis\core.py", line 550, in run
args, kwargs = data.draw(self.search_strategy)
File "c:\hostedtoolcache\windows\python\2.7.14\x64\lib\site-packages\hypothesis\internal\conjecture\data.py", line 834, in draw
return self.__draw(strategy, label=label)
File "c:\hostedtoolcache\windows\python\2.7.14\x64\lib\site-packages\hypothesis\internal\conjecture\data.py", line 849, in __draw
return strategy.do_draw(self)
File "c:\hostedtoolcache\windows\python\2.7.14\x64\lib\site-packages\hypothesis\searchstrategy\collections.py", line 59, in do_draw
return tuple(data.draw(e) for e in self.element_strategies)
File "c:\hostedtoolcache\windows\python\2.7.14\x64\lib\site-packages\hypothesis\searchstrategy\collections.py", line 59, in <genexpr>
return tuple(data.draw(e) for e in self.element_strategies)
File "c:\hostedtoolcache\windows\python\2.7.14\x64\lib\site-packages\hypothesis\internal\conjecture\data.py", line 834, in draw
return self.__draw(strategy, label=label)
File "c:\hostedtoolcache\windows\python\2.7.14\x64\lib\site-packages\hypothesis\internal\conjecture\data.py", line 843, in __draw
return strategy.do_draw(self)
File "c:\hostedtoolcache\windows\python\2.7.14\x64\lib\site-packages\hypothesis\searchstrategy\strategies.py", line 560, in do_draw
result = self.pack(data.draw(self.mapped_strategy))
File "c:\hostedtoolcache\windows\python\2.7.14\x64\lib\site-packages\hypothesis\internal\conjecture\data.py", line 834, in draw
return self.__draw(strategy, label=label)
File "c:\hostedtoolcache\windows\python\2.7.14\x64\lib\site-packages\hypothesis\internal\conjecture\data.py", line 843, in __draw
return strategy.do_draw(self)
File "c:\hostedtoolcache\windows\python\2.7.14\x64\lib\site-packages\hypothesis\searchstrategy\lazy.py", line 156, in do_draw
return data.draw(self.wrapped_strategy)
File "c:\hostedtoolcache\windows\python\2.7.14\x64\lib\site-packages\hypothesis\internal\conjecture\data.py", line 834, in draw
return self.__draw(strategy, label=label)
File "c:\hostedtoolcache\windows\python\2.7.14\x64\lib\site-packages\hypothesis\internal\conjecture\data.py", line 843, in __draw
return strategy.do_draw(self)
File "c:\hostedtoolcache\windows\python\2.7.14\x64\lib\site-packages\hypothesis\searchstrategy\strategies.py", line 560, in do_draw
result = self.pack(data.draw(self.mapped_strategy))
File "c:\hostedtoolcache\windows\python\2.7.14\x64\lib\site-packages\hypothesis\internal\conjecture\data.py", line 834, in draw
return self.__draw(strategy, label=label)
File "c:\hostedtoolcache\windows\python\2.7.14\x64\lib\site-packages\hypothesis\internal\conjecture\data.py", line 843, in __draw
return strategy.do_draw(self)
File "c:\hostedtoolcache\windows\python\2.7.14\x64\lib\site-packages\hypothesis\searchstrategy\collections.py", line 59, in do_draw
return tuple(data.draw(e) for e in self.element_strategies)
File "c:\hostedtoolcache\windows\python\2.7.14\x64\lib\site-packages\hypothesis\searchstrategy\collections.py", line 59, in <genexpr>
return tuple(data.draw(e) for e in self.element_strategies)
File "c:\hostedtoolcache\windows\python\2.7.14\x64\lib\site-packages\hypothesis\internal\conjecture\data.py", line 834, in draw
return self.__draw(strategy, label=label)
File "c:\hostedtoolcache\windows\python\2.7.14\x64\lib\site-packages\hypothesis\internal\conjecture\data.py", line 843, in __draw
return strategy.do_draw(self)
File "c:\hostedtoolcache\windows\python\2.7.14\x64\lib\site-packages\hypothesis\searchstrategy\lazy.py", line 156, in do_draw
return data.draw(self.wrapped_strategy)
File "c:\hostedtoolcache\windows\python\2.7.14\x64\lib\site-packages\hypothesis\internal\conjecture\data.py", line 834, in draw
return self.__draw(strategy, label=label)
File "c:\hostedtoolcache\windows\python\2.7.14\x64\lib\site-packages\hypothesis\internal\conjecture\data.py", line 843, in __draw
return strategy.do_draw(self)
File "c:\hostedtoolcache\windows\python\2.7.14\x64\lib\site-packages\hypothesis\searchstrategy\strategies.py", line 636, in do_draw
data=data, filter_strategy=self
File "c:\hostedtoolcache\windows\python\2.7.14\x64\lib\site-packages\hypothesis\searchstrategy\strategies.py", line 356, in do_filtered_draw
return filter_strategy.default_do_filtered_draw(data)
File "c:\hostedtoolcache\windows\python\2.7.14\x64\lib\site-packages\hypothesis\searchstrategy\strategies.py", line 651, in default_do_filtered_draw
value = data.draw(self.filtered_strategy)
File "c:\hostedtoolcache\windows\python\2.7.14\x64\lib\site-packages\hypothesis\internal\conjecture\data.py", line 834, in draw
return self.__draw(strategy, label=label)
File "c:\hostedtoolcache\windows\python\2.7.14\x64\lib\site-packages\hypothesis\internal\conjecture\data.py", line 843, in __draw
return strategy.do_draw(self)
File "c:\hostedtoolcache\windows\python\2.7.14\x64\lib\site-packages\hypothesis\searchstrategy\recursive.py", line 100, in do_draw
return data.draw(self.strategy)
File "c:\hostedtoolcache\windows\python\2.7.14\x64\lib\site-packages\hypothesis\internal\conjecture\data.py", line 834, in draw
return self.__draw(strategy, label=label)
File "c:\hostedtoolcache\windows\python\2.7.14\x64\lib\site-packages\hypothesis\internal\conjecture\data.py", line 843, in __draw
return strategy.do_draw(self)
File "c:\hostedtoolcache\windows\python\2.7.14\x64\lib\site-packages\hypothesis\searchstrategy\strategies.py", line 498, in do_draw
return data.draw(self.element_strategies[i], label=self.branch_labels[i])
File "c:\hostedtoolcache\windows\python\2.7.14\x64\lib\site-packages\hypothesis\internal\conjecture\data.py", line 834, in draw
return self.__draw(strategy, label=label)
File "c:\hostedtoolcache\windows\python\2.7.14\x64\lib\site-packages\hypothesis\internal\conjecture\data.py", line 843, in __draw
return strategy.do_draw(self)
File "c:\hostedtoolcache\windows\python\2.7.14\x64\lib\site-packages\hypothesis\searchstrategy\lazy.py", line 156, in do_draw
return data.draw(self.wrapped_strategy)
File "c:\hostedtoolcache\windows\python\2.7.14\x64\lib\site-packages\hypothesis\internal\conjecture\data.py", line 834, in draw
return self.__draw(strategy, label=label)
File "c:\hostedtoolcache\windows\python\2.7.14\x64\lib\site-packages\hypothesis\internal\conjecture\data.py", line 843, in __draw
return strategy.do_draw(self)
File "c:\hostedtoolcache\windows\python\2.7.14\x64\lib\site-packages\hypothesis\searchstrategy\strategies.py", line 560, in do_draw
result = self.pack(data.draw(self.mapped_strategy))
File "c:\hostedtoolcache\windows\python\2.7.14\x64\lib\site-packages\hypothesis\internal\conjecture\data.py", line 834, in draw
return self.__draw(strategy, label=label)
File "c:\hostedtoolcache\windows\python\2.7.14\x64\lib\site-packages\hypothesis\internal\conjecture\data.py", line 843, in __draw
return strategy.do_draw(self)
File "c:\hostedtoolcache\windows\python\2.7.14\x64\lib\site-packages\hypothesis\searchstrategy\lazy.py", line 156, in do_draw
return data.draw(self.wrapped_strategy)
File "c:\hostedtoolcache\windows\python\2.7.14\x64\lib\site-packages\hypothesis\internal\conjecture\data.py", line 834, in draw
return self.__draw(strategy, label=label)
File "c:\hostedtoolcache\windows\python\2.7.14\x64\lib\site-packages\hypothesis\internal\conjecture\data.py", line 843, in __draw
return strategy.do_draw(self)
File "c:\hostedtoolcache\windows\python\2.7.14\x64\lib\site-packages\hypothesis\searchstrategy\collections.py", line 160, in do_draw
data=data, filter_strategy=filtered
File "c:\hostedtoolcache\windows\python\2.7.14\x64\lib\site-packages\hypothesis\searchstrategy\strategies.py", line 356, in do_filtered_draw
return filter_strategy.default_do_filtered_draw(data)
File "c:\hostedtoolcache\windows\python\2.7.14\x64\lib\site-packages\hypothesis\searchstrategy\strategies.py", line 651, in default_do_filtered_draw
value = data.draw(self.filtered_strategy)
File "c:\hostedtoolcache\windows\python\2.7.14\x64\lib\site-packages\hypothesis\internal\conjecture\data.py", line 834, in draw
return self.__draw(strategy, label=label)
File "c:\hostedtoolcache\windows\python\2.7.14\x64\lib\site-packages\hypothesis\internal\conjecture\data.py", line 843, in __draw
return strategy.do_draw(self)
File "c:\hostedtoolcache\windows\python\2.7.14\x64\lib\site-packages\hypothesis\searchstrategy\strategies.py", line 498, in do_draw
return data.draw(self.element_strategies[i], label=self.branch_labels[i])
File "c:\hostedtoolcache\windows\python\2.7.14\x64\lib\site-packages\hypothesis\internal\conjecture\data.py", line 834, in draw
return self.__draw(strategy, label=label)
File "c:\hostedtoolcache\windows\python\2.7.14\x64\lib\site-packages\hypothesis\internal\conjecture\data.py", line 843, in __draw
return strategy.do_draw(self)
File "c:\hostedtoolcache\windows\python\2.7.14\x64\lib\site-packages\hypothesis\searchstrategy\lazy.py", line 156, in do_draw
return data.draw(self.wrapped_strategy)
File "c:\hostedtoolcache\windows\python\2.7.14\x64\lib\site-packages\hypothesis\internal\conjecture\data.py", line 834, in draw
return self.__draw(strategy, label=label)
File "c:\hostedtoolcache\windows\python\2.7.14\x64\lib\site-packages\hypothesis\internal\conjecture\data.py", line 843, in __draw
return strategy.do_draw(self)
File "c:\hostedtoolcache\windows\python\2.7.14\x64\lib\site-packages\hypothesis\searchstrategy\collections.py", line 59, in do_draw
return tuple(data.draw(e) for e in self.element_strategies)
File "c:\hostedtoolcache\windows\python\2.7.14\x64\lib\site-packages\hypothesis\searchstrategy\collections.py", line 59, in <genexpr>
return tuple(data.draw(e) for e in self.element_strategies)
File "c:\hostedtoolcache\windows\python\2.7.14\x64\lib\site-packages\hypothesis\internal\conjecture\data.py", line 834, in draw
return self.__draw(strategy, label=label)
File "c:\hostedtoolcache\windows\python\2.7.14\x64\lib\site-packages\hypothesis\internal\conjecture\data.py", line 843, in __draw
return strategy.do_draw(self)
File "c:\hostedtoolcache\windows\python\2.7.14\x64\lib\site-packages\hypothesis\searchstrategy\strategies.py", line 498, in do_draw
return data.draw(self.element_strategies[i], label=self.branch_labels[i])
File "c:\hostedtoolcache\windows\python\2.7.14\x64\lib\site-packages\hypothesis\internal\conjecture\data.py", line 834, in draw
return self.__draw(strategy, label=label)
File "c:\hostedtoolcache\windows\python\2.7.14\x64\lib\site-packages\hypothesis\internal\conjecture\data.py", line 843, in __draw
return strategy.do_draw(self)
File "c:\hostedtoolcache\windows\python\2.7.14\x64\lib\site-packages\hypothesis\searchstrategy\lazy.py", line 156, in do_draw
return data.draw(self.wrapped_strategy)
File "c:\hostedtoolcache\windows\python\2.7.14\x64\lib\site-packages\hypothesis\internal\conjecture\data.py", line 834, in draw
return self.__draw(strategy, label=label)
File "c:\hostedtoolcache\windows\python\2.7.14\x64\lib\site-packages\hypothesis\internal\conjecture\data.py", line 843, in __draw
return strategy.do_draw(self)
File "c:\hostedtoolcache\windows\python\2.7.14\x64\lib\site-packages\hypothesis\searchstrategy\strategies.py", line 560, in do_draw
result = self.pack(data.draw(self.mapped_strategy))
File "c:\hostedtoolcache\windows\python\2.7.14\x64\lib\site-packages\hypothesis\extra\numpy.py", line 457, in convert_to_dtype
return np.dtype(x)I'll update with more details as they come. |
|
OK, it looks like this is triggered by a weird behaviour of
|
Every now and then I see the following error from it:
For example here: https://travis-ci.org/HypothesisWorks/hypothesis/jobs/489245732#L1288
In this example it's on Python 2 but I don't know whether that's essential.
The text was updated successfully, but these errors were encountered: