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

Connection to IMAP server cyrus.andrew.cmu.edu hangs #85136

Closed
tiran opened this issue Jun 12, 2020 · 10 comments · Fixed by #106022
Closed

Connection to IMAP server cyrus.andrew.cmu.edu hangs #85136

tiran opened this issue Jun 12, 2020 · 10 comments · Fixed by #106022
Assignees
Labels
3.7 (EOL) end of life 3.8 only security fixes 3.9 only security fixes 3.10 only security fixes easy tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error

Comments

@tiran
Copy link
Member

tiran commented Jun 12, 2020

BPO 40964
Nosy @vstinner, @tiran, @ned-deily, @ambv
PRs
  • bpo-40964: disable remote IMAP tests #20836
  • 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 = 'https://github.com/tiran'
    closed_at = None
    created_at = <Date 2020-06-12.18:43:06.859>
    labels = ['type-bug', '3.8', '3.9', '3.10', '3.7', 'tests']
    title = 'Connection to IMAP server cyrus.andrew.cmu.edu hangs'
    updated_at = <Date 2020-09-11.10:31:13.514>
    user = 'https://github.com/tiran'

    bugs.python.org fields:

    activity = <Date 2020-09-11.10:31:13.514>
    actor = 'vstinner'
    assignee = 'christian.heimes'
    closed = False
    closed_date = None
    closer = None
    components = ['Tests']
    creation = <Date 2020-06-12.18:43:06.859>
    creator = 'christian.heimes'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 40964
    keywords = ['patch']
    message_count = 7.0
    messages = ['371403', '371406', '371407', '371410', '371411', '371412', '376714']
    nosy_count = 4.0
    nosy_names = ['vstinner', 'christian.heimes', 'ned.deily', 'lukasz.langa']
    pr_nums = ['20836']
    priority = None
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue40964'
    versions = ['Python 3.6', 'Python 3.7', 'Python 3.8', 'Python 3.9', 'Python 3.10']

    Linked PRs

    @tiran
    Copy link
    Member Author

    tiran commented Jun 12, 2020

    All buildbots and tests are currently failing because connections cyrus.andrew.cmu.edu:143 (IMAP) and cyrus.andrew.cmu.edu:993 (IMAPS) are hanging.

    @tiran tiran added release-blocker 3.7 (EOL) end of life 3.8 only security fixes 3.9 only security fixes 3.10 only security fixes tests Tests in the Lib/test dir labels Jun 12, 2020
    @ned-deily
    Copy link
    Member

    New changeset 08b1bba by Christian Heimes in branch 'master':
    bpo-40964: disable remote IMAP tests (GH-20836)
    08b1bba

    @tiran
    Copy link
    Member Author

    tiran commented Jun 12, 2020

    The remote server is having intermittent issues. Sometimes all three servers behind the host are gone, sometimes they block all packages.

    # nmap -vv cyrus.andrew.cmu.edu
    Starting Nmap 7.80 ( https://nmap.org ) at 2020-06-12 20:52 CEST
    Warning: Hostname cyrus.andrew.cmu.edu resolves to 3 IPs. Using 128.2.157.16.
    Initiating Ping Scan at 20:52
    Scanning cyrus.andrew.cmu.edu (128.2.157.16) [4 ports]
    Completed Ping Scan at 20:52, 0.13s elapsed (1 total hosts)
    Initiating Parallel DNS resolution of 1 host. at 20:52
    Completed Parallel DNS resolution of 1 host. at 20:52, 0.12s elapsed
    Initiating SYN Stealth Scan at 20:52
    Scanning cyrus.andrew.cmu.edu (128.2.157.16) [1000 ports]
    Completed SYN Stealth Scan at 20:52, 2.88s elapsed (1000 total ports)
    Nmap scan report for cyrus.andrew.cmu.edu (128.2.157.16)
    Host is up, received reset ttl 239 (0.11s latency).
    Other addresses for cyrus.andrew.cmu.edu (not scanned): 128.2.157.15 128.2.157.14
    rDNS record for 128.2.157.16: CYRUS.ANDREW.CMU.EDU
    Scanned at 2020-06-12 20:52:35 CEST for 3s
    Not shown: 979 closed ports
    Reason: 979 resets
    PORT STATE SERVICE REASON
    23/tcp filtered telnet no-response
    110/tcp filtered pop3 no-response
    135/tcp filtered msrpc no-response
    139/tcp filtered netbios-ssn no-response
    143/tcp filtered imap no-response
    445/tcp filtered microsoft-ds no-response
    515/tcp filtered printer no-response
    631/tcp filtered ipp no-response
    993/tcp filtered imaps no-response
    995/tcp filtered pop3s no-response
    1433/tcp filtered ms-sql-s no-response
    2000/tcp filtered cisco-sccp no-response
    2003/tcp filtered finger no-response
    2967/tcp filtered symantec-av no-response
    3389/tcp filtered ms-wbt-server no-response
    5555/tcp filtered freeciv no-response
    5900/tcp filtered vnc no-response
    5901/tcp filtered vnc-1 no-response
    5902/tcp filtered vnc-2 no-response
    5903/tcp filtered vnc-3 no-response
    9100/tcp filtered jetdirect no-response

    Read data files from: /usr/bin/../share/nmap
    Nmap done: 1 IP address (1 host up) scanned in 3.42 seconds
    Raw packets sent: 1025 (45.076KB) | Rcvd: 980 (39.200KB)

    # nmap -vv 128.2.157.16 128.2.157.14 128.2.157.15
    Starting Nmap 7.80 ( https://nmap.org ) at 2020-06-12 20:54 CEST
    Initiating Ping Scan at 20:54
    Scanning 3 hosts [4 ports/host]
    Completed Ping Scan at 20:55, 5.03s elapsed (3 total hosts)
    Nmap scan report for 128.2.157.16 [host down, received no-response]
    Nmap scan report for 128.2.157.14 [host down, received no-response]
    Nmap scan report for 128.2.157.15 [host down, received no-response]
    Read data files from: /usr/bin/../share/nmap
    Nmap done: 3 IP addresses (0 hosts up) scanned in 5.10 seconds
    Raw packets sent: 24 (912B) | Rcvd: 0 (0B)

    @tiran tiran added type-bug An unexpected behavior, bug, or error labels Jun 12, 2020
    @ned-deily
    Copy link
    Member

    New changeset f919179 by Ned Deily (Christian Heimes) in branch '3.9':
    bpo-40964: disable remote IMAP tests (GH-20836)
    f919179

    @ned-deily
    Copy link
    Member

    New changeset adce133 by Ned Deily (Christian Heimes) in branch '3.8':
    bpo-40964: disable remote IMAP tests (GH-20836)
    adce133

    @ned-deily
    Copy link
    Member

    New changeset 0abb70e by Ned Deily (Christian Heimes) in branch '3.7':
    bpo-40964: disable remote IMAP tests (GH-20836)
    0abb70e

    @vstinner
    Copy link
    Member

    The tests have been disabled, so I understand that the "release blocker" priority is no longer needed. It would be nice to reenable these tests, but I consider that it should not block the next 3.9 release.

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    @erlend-aasland
    Copy link
    Contributor

    These tests have been skipped since 2020. I see three possible ways to resolve this issue:

    1. remove the tests (they're not running anyway)
    2. remove the guards and cross our fingers
    3. amend the tests to automatically skip if the remote server is unavailable

    @vstinner
    Copy link
    Member

    remove the tests (they're not running anyway)

    That sounds like a good idea to me.

    erlend-aasland added a commit to erlend-aasland/cpython that referenced this issue Jun 23, 2023
    Tests had been disabled since Jun 12, 2020 (pythongh-20836).
    @erlend-aasland
    Copy link
    Contributor

    remove the tests (they're not running anyway)

    That sounds like a good idea to me.

    Resolved with:

    The remote IMAP tests are now removed in main.

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    3.7 (EOL) end of life 3.8 only security fixes 3.9 only security fixes 3.10 only security fixes easy tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error
    Projects
    None yet
    Development

    Successfully merging a pull request may close this issue.

    4 participants