Skip to content
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_socket.testRecvmsgPeek() timeout on "AMD64 Debian root 3.x" buildbot #70394

Closed
vstinner opened this issue Jan 26, 2016 · 4 comments
Closed
Labels
tests Tests in the Lib/test dir

Comments

@vstinner
Copy link
Member

BPO 26206
Nosy @vstinner, @Rosuav, @vadmium

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2016-01-29.05:11:39.333>
created_at = <Date 2016-01-26.13:02:10.009>
labels = ['tests']
title = 'test_socket.testRecvmsgPeek() timeout on "AMD64 Debian root 3.x" buildbot'
updated_at = <Date 2016-01-29.05:11:39.332>
user = 'https://github.com/vstinner'

bugs.python.org fields:

activity = <Date 2016-01-29.05:11:39.332>
actor = 'martin.panter'
assignee = 'none'
closed = True
closed_date = <Date 2016-01-29.05:11:39.333>
closer = 'martin.panter'
components = ['Tests']
creation = <Date 2016-01-26.13:02:10.009>
creator = 'vstinner'
dependencies = []
files = []
hgrepos = []
issue_num = 26206
keywords = ['buildbot']
message_count = 4.0
messages = ['258952', '258953', '259008', '259196']
nosy_count = 3.0
nosy_names = ['vstinner', 'Rosuav', 'martin.panter']
pr_nums = []
priority = 'normal'
resolution = 'third party'
stage = 'resolved'
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue26206'
versions = ['Python 3.5', 'Python 3.6']

@vstinner
Copy link
Member Author

The bug started between build 3071 and 3072:

Maybe it's an issue on the buildbot, not on the code directly?

http://buildbot.python.org/all/builders/AMD64%20Debian%20root%203.x/builds/3142/steps/test/logs/stdio

[300/400] test_socket
Timeout (1:00:00)!
Thread 0x00002b16599dab20 (most recent call first):
File "/root/buildarea/3.x.angelico-debian-amd64/build/Lib/test/test_socket.py", line 1920 in doRecvmsg
File "/root/buildarea/3.x.angelico-debian-amd64/build/Lib/test/test_socket.py", line 2376 in testRecvmsgPeek
File "/root/buildarea/3.x.angelico-debian-amd64/build/Lib/unittest/case.py", line 600 in run
File "/root/buildarea/3.x.angelico-debian-amd64/build/Lib/unittest/case.py", line 648 in __call__
File "/root/buildarea/3.x.angelico-debian-amd64/build/Lib/unittest/suite.py", line 122 in run
File "/root/buildarea/3.x.angelico-debian-amd64/build/Lib/unittest/suite.py", line 84 in __call__
File "/root/buildarea/3.x.angelico-debian-amd64/build/Lib/unittest/suite.py", line 122 in run
File "/root/buildarea/3.x.angelico-debian-amd64/build/Lib/unittest/suite.py", line 84 in __call__
File "/root/buildarea/3.x.angelico-debian-amd64/build/Lib/unittest/runner.py", line 176 in run
File "/root/buildarea/3.x.angelico-debian-amd64/build/Lib/test/support/init.py", line 1780 in _run_suite
File "/root/buildarea/3.x.angelico-debian-amd64/build/Lib/test/support/init.py", line 1814 in run_unittest
File "/root/buildarea/3.x.angelico-debian-amd64/build/Lib/test/test_socket.py", line 5345 in test_main
File "/root/buildarea/3.x.angelico-debian-amd64/build/Lib/test/libregrtest/runtest.py", line 162 in runtest_inner
File "/root/buildarea/3.x.angelico-debian-amd64/build/Lib/test/libregrtest/runtest.py", line 115 in runtest
File "/root/buildarea/3.x.angelico-debian-amd64/build/Lib/test/libregrtest/main.py", line 295 in run_tests_sequential
File "/root/buildarea/3.x.angelico-debian-amd64/build/Lib/test/libregrtest/main.py", line 356 in run_tests
File "/root/buildarea/3.x.angelico-debian-amd64/build/Lib/test/libregrtest/main.py", line 392 in main
File "/root/buildarea/3.x.angelico-debian-amd64/build/Lib/test/libregrtest/main.py", line 433 in main
File "/root/buildarea/3.x.angelico-debian-amd64/build/Lib/test/libregrtest/main.py", line 455 in main_in_temp_cwd
File "/root/buildarea/3.x.angelico-debian-amd64/build/Lib/test/main.py", line 3 in <module>
File "/root/buildarea/3.x.angelico-debian-amd64/build/Lib/runpy.py", line 85 in _run_code
File "/root/buildarea/3.x.angelico-debian-amd64/build/Lib/runpy.py", line 184 in _run_module_as_main
make: *** [buildbottest] Error 1

@vstinner vstinner added the tests Tests in the Lib/test dir label Jan 26, 2016
@vstinner
Copy link
Member Author

Info about the buildbot (regrtest headers):

== CPython 3.6.0a0 (default:fadc4b53b840, Jan 26 2016, 18:14:53) [GCC 4.7.2]
== Linux-3.2.0-4-amd64-x86_64-with-debian-7.9 little-endian
== hash algorithm: siphash24 64bit
== /root/buildarea/3.x.angelico-debian-amd64/build/build/test_python_26835

Info about the failing test:

@requireAttrs(socket, "MSG_PEEK")
def testRecvmsgPeek(self):
    # Check that MSG_PEEK in flags enables examination of pending
    # data without consuming it.

The unit test is old, it was introduced in 2011:

changeset: 72029:c64216addd7f
parent: 72027:1702749b1060
user: Nick Coghlan <ncoghlan@gmail.com>
date: Mon Aug 22 11:55:57 2011 +1000
files: Doc/library/socket.rst Doc/whatsnew/3.3.rst Lib/ssl.py Lib/test/test_socket.py Lib/test/test_ssl.py Misc/NEWS Modules/socketmodule.c
description:
Add support for the send/recvmsg API to the socket module. Patch by David Watson and Heiko Wundram. (Closes bpo-6560)

@vadmium
Copy link
Member

vadmium commented Jan 27, 2016

A few more details from <https://mail.python.org/pipermail/python-dev/2016-January/142885.html\>:

  • Affects Python 3 but not 2.7.
  • Offending test case: RecvmsgUDP6Test.testRecvmsgPeek()
  • Seems to correspond with the buildbot VM’s config recently being rebuilt

@vadmium
Copy link
Member

vadmium commented Jan 29, 2016

The problem has apparently been fixed at the buildbot end

@vadmium vadmium closed this as completed Jan 29, 2016
@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests Tests in the Lib/test dir
Projects
None yet
Development

No branches or pull requests

2 participants