Bug 1594901 - python-pynacl FTBFS on s390x with Python 3.7
Summary: python-pynacl FTBFS on s390x with Python 3.7
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-pynacl
Version: rawhide
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: ---
Assignee: Miro Hrončok
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PYTHON37
TreeView+ depends on / blocked
 
Reported: 2018-06-25 16:15 UTC by Miro Hrončok
Modified: 2018-06-26 13:45 UTC (History)
1 user (show)

Fixed In Version: python-pynacl-1.2.1-2.fc29
Clone Of:
Environment:
Last Closed: 2018-06-26 13:45:42 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Miro Hrončok 2018-06-25 16:15:16 UTC
Description of problem: python-pynacl FTBFS in the f29-python side tag on s390x:

    fedpkg build --target=f29-python

https://koji.fedoraproject.org/koji/taskinfo?taskID=27752286
https://koji.fedoraproject.org/koji/taskinfo?taskID=27860234

=================================== FAILURES ===================================
__________________________ test_pwhash_str_and_verify __________________________
    @given(text(alphabet=PASSWD_CHARS, min_size=5, max_size=20))
>   @settings(deadline=1500, max_examples=5)
    def test_pwhash_str_and_verify(password):
tests/test_pwhash.py:451: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/lib/python2.7/site-packages/hypothesis/core.py:581: in execute
    result = self.test_runner(data, run)
/usr/lib/python2.7/site-packages/hypothesis/executors.py:58: in default_new_style_executor
    return function(data)
/usr/lib/python2.7/site-packages/hypothesis/core.py:573: in run
    return test(*args, **kwargs)
tests/test_pwhash.py:451: in test_pwhash_str_and_verify
    @settings(deadline=1500, max_examples=5)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
args = ('     ',), kwargs = {}, initial_draws = 1, start = 1529943014.701492
result = None, finish = 1529943017.743167, internal_draw_time = 0
runtime = 3041.674852371216, current_deadline = 1500
    @proxies(self.test)
    def test(*args, **kwargs):
        self.__test_runtime = None
        initial_draws = len(data.draw_times)
        start = benchmark_time()
        result = self.test(*args, **kwargs)
        finish = benchmark_time()
        internal_draw_time = sum(data.draw_times[initial_draws:])
        runtime = (finish - start - internal_draw_time) * 1000
        self.__test_runtime = runtime
        if self.settings.deadline is not_set:
            if (
                not self.__warned_deadline and
                runtime >= 200
            ):
                self.__warned_deadline = True
                note_deprecation((
                    'Test took %.2fms to run. In future the default '
                    'deadline setting will be 200ms, which will '
                    'make this an error. You can set deadline to '
                    'an explicit value of e.g. %d to turn tests '
                    'slower than this into an error, or you can set '
                    'it to None to disable this check entirely.') % (
                        runtime, ceil(runtime / 100) * 100,
                ))
        else:
            current_deadline = self.settings.deadline
            if not is_final:
                current_deadline *= 1.25
            if runtime >= current_deadline:
>               raise DeadlineExceeded(runtime, self.settings.deadline)
E               DeadlineExceeded: Test took 3041.67ms, which exceeds the deadline of 1500.00ms
/usr/lib/python2.7/site-packages/hypothesis/core.py:545: DeadlineExceeded
---------------------------------- Hypothesis ----------------------------------
Falsifying example: test_pwhash_str_and_verify(password=u'     ')
============== 1 failed, 4519 passed, 4 skipped in 251.65 seconds ==============

This is a Python 2 test failure.

Would exceeding the 1500.00ms deadline on s390x make sense or does this indicate a real problem?


Version-Release number of selected component (if applicable): python-pynacl-1.2.1-2.fc29


Steps to Reproduce: fedpkg build --target=f29-python

This transitively blocks ansible.

Comment 1 Miro Hrončok 2018-06-26 13:24:48 UTC
Oh I see we are ignoring arm results. I try to prolong the deadline on s390x and arms as well.


Note You need to log in before you can comment on or make changes to this bug.