Skip to content

fix(corekit): an Info cannot be pickled under protocols 0 and 1 on GraalPy #2714

Closed

Description

@JarryShaw

On the GraalPy experimental leg, 80 subtests fail deterministically in tests/foundation/reassembly:

  • test_ip_tcp_analysis_2581_unit test_a_deferred_datagram_pickles_and_still_parses (72);
  • test_dtls_reassembly_parity_2531_unit (4);
  • test_dtls_analysis_delegation_2622_unit (4).

After pickling, the original datagram no longer holds a Deferred: the assertion reads … is not an instance of Deferred. The failures are present on main from fc407c383 and absent at a25eb0e39. The likely commits are #2605, #2619 and #2622, but which one is unverified. Closed #2433 covered a related GraalPy Deferred pickling defect.

Find the commit and the mechanism, decide whether the code or the test is wrong on GraalPy, and fix it so the leg stays green.

Activity

  1. added this to the PyPCAPKit v1.6 milestone on Nov 3, 2026
  2. added
    bugIssues reporting a defect (set by the bug report template; a default, not an assessment)
    wipWork in flight - a covering PR is open or an agent is actively on it
    on Nov 3, 2026
  3. JarryShaw commented on Nov 3, 2026

    @JarryShaw
    OwnerAuthor

    Root cause found. It is not a reassembly regression, and pickling never mutates the original.

  4. changed the title [-]fix(reassembly): a pickled Deferred datagram loses its Deferred on GraalPy[/-] [+]fix(corekit): an Info cannot be pickled under protocols 0 and 1 on GraalPy[/+] on Nov 3, 2026
  5. JarryShaw commented on Nov 3, 2026

    @JarryShaw
    OwnerAuthor

    The PR is #2722.

  6. removed
    wipWork in flight - a covering PR is open or an agent is actively on it
    on Nov 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssues reporting a defect (set by the bug report template; a default, not an assessment)

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions