Skip to content

test_cpickle failure on the ware-gentoo-x86 buildbot #69787

Closed

Description

@serhiy-storchaka
BPO 25601
Nosy @warsaw, @pitrou, @avassalotti, @zware, @serhiy-storchaka
Superseder
  • bpo-25698: The copy_reg module becomes unexpectedly empty in test_cpickle
  • 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 2015-12-01.16:38:42.927>
    created_at = <Date 2015-11-11.08:31:35.302>
    labels = ['type-bug', 'tests']
    title = 'test_cpickle failure on the ware-gentoo-x86 buildbot'
    updated_at = <Date 2015-12-01.16:38:42.927>
    user = 'https://github.com/serhiy-storchaka'

    bugs.python.org fields:

    activity = <Date 2015-12-01.16:38:42.927>
    actor = 'serhiy.storchaka'
    assignee = 'none'
    closed = True
    closed_date = <Date 2015-12-01.16:38:42.927>
    closer = 'serhiy.storchaka'
    components = ['Tests']
    creation = <Date 2015-11-11.08:31:35.302>
    creator = 'serhiy.storchaka'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 25601
    keywords = []
    message_count = 6.0
    messages = ['254483', '254490', '254492', '254494', '254601', '255659']
    nosy_count = 5.0
    nosy_names = ['barry', 'pitrou', 'alexandre.vassalotti', 'zach.ware', 'serhiy.storchaka']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '25698'
    type = 'behavior'
    url = 'https://bugs.python.org/issue25601'
    versions = ['Python 2.7']

    Activity

    1. serhiy-storchaka commented on Nov 11, 2015

      @serhiy-storchaka
      MemberAuthor

      http://buildbot.python.org/all/builders/x86%20Gentoo%20Non-Debug%20with%20X%202.7/builds/100/steps/test/logs/stdio

      There are a lot of failures, all look as:
      ======================================================================
      ERROR: test_simple_newobj (test.test_cpickle.FileIOCPicklerFastTests)
      ----------------------------------------------------------------------

      Traceback (most recent call last):
        File "/buildbot/buildarea/2.7.ware-gentoo-x86/build/Lib/test/pickletester.py", line 1145, in test_simple_newobj
          s = self.dumps(x, proto)
        File "/buildbot/buildarea/2.7.ware-gentoo-x86/build/Lib/test/test_cpickle.py", line 141, in dumps
          p.dump(arg)
      AttributeError: 'module' object has no attribute '_reduce_ex'

      It looks as the _reduce_ex() function is missed in the copy_reg module. Have no ideas how it is possible.

    2. changed the title [-]test_cpickle failure on the ware-gentoo-x86 builbot[/-] [+]test_cpickle failure on the ware-gentoo-x86 buildbot[/+] on Nov 11, 2015
    3. zware commented on Nov 11, 2015

      @zware
      Member

      I also have no idea how that happened, but seems to have been a fluke. Build 101 is fine, and nothing has changed on that box.

    4. zware commented on Nov 11, 2015

      @zware
      Member

      This also happened on my Windows buildbot: http://buildbot.python.org/all/builders/AMD64%20Windows8.1%20Non-Debug%202.7/builds/195

      That build is running again as build 196.

    5. zware commented on Nov 11, 2015

      @zware
      Member

      Build 196 on the Windows bot is fine. Could be a bizarre test ordering issue? Nothing else should have changed between builds 195 and 196 on the Windows bot.

    6. serhiy-storchaka commented on Nov 13, 2015

      @serhiy-storchaka
      MemberAuthor

      Could you reproduce the failure by running tests with the same seed on these machines?

    7. warsaw commented on Dec 1, 2015

      @warsaw
      Member

      I'm duping this one to bpo-25698 because while it came later, it has a lot more information. They are clearly the same bug.

    8. transferred this issue fromon Apr 10, 2022
    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

      testsTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions