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_distutils: BuildRpmTestCase tests fail on RHEL buildbots #76833

Closed
vstinner opened this issue Jan 24, 2018 · 3 comments
Closed

test_distutils: BuildRpmTestCase tests fail on RHEL buildbots #76833

vstinner opened this issue Jan 24, 2018 · 3 comments
Labels
3.7 (EOL) end of life tests Tests in the Lib/test dir

Comments

@vstinner
Copy link
Member

BPO 32652
Nosy @vstinner
PRs
  • bpo-32652: Defer pymain_set_global_config() call #5303
  • 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 2018-04-25.13:27:18.575>
    created_at = <Date 2018-01-24.16:35:34.562>
    labels = ['3.7', 'tests']
    title = 'test_distutils: BuildRpmTestCase tests fail on RHEL buildbots'
    updated_at = <Date 2018-04-25.13:27:18.574>
    user = 'https://github.com/vstinner'

    bugs.python.org fields:

    activity = <Date 2018-04-25.13:27:18.574>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2018-04-25.13:27:18.575>
    closer = 'vstinner'
    components = ['Tests']
    creation = <Date 2018-01-24.16:35:34.562>
    creator = 'vstinner'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 32652
    keywords = ['patch']
    message_count = 3.0
    messages = ['310614', '310663', '315729']
    nosy_count = 1.0
    nosy_names = ['vstinner']
    pr_nums = ['5303']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue32652'
    versions = ['Python 3.7']

    @vstinner
    Copy link
    Member Author

    It may be a regression introduced by commit 8ded5b8, bpo-32030: "Add _PyCoreConfig.module_search_paths", since it's the only change of the failing build 577.

    s390x RHEL 3.x5:

    http://buildbot.python.org/all/#/builders/21/builds/577

    ======================================================================
    ERROR: test_no_optimize_flag (distutils.tests.test_bdist_rpm.BuildRpmTestCase)
    ----------------------------------------------------------------------

    Traceback (most recent call last):
      File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/distutils/tests/test_bdist_rpm.py", line 120, in test_no_optimize_flag
        cmd.run()
      File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/distutils/command/bdist_rpm.py", line 366, in run
        self.spawn(rpm_cmd)
      File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/distutils/cmd.py", line 365, in spawn
        spawn(cmd, search_path, dry_run=self.dry_run)
      File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/distutils/spawn.py", line 36, in spawn
        _spawn_posix(cmd, search_path, dry_run=dry_run)
      File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/distutils/spawn.py", line 159, in _spawn_posix
        % (cmd, exit_status))
    distutils.errors.DistutilsExecError: command 'rpmbuild' failed with exit status 1

    ======================================================================
    ERROR: test_quiet (distutils.tests.test_bdist_rpm.BuildRpmTestCase)
    ----------------------------------------------------------------------

    Traceback (most recent call last):
      File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/distutils/tests/test_bdist_rpm.py", line 77, in test_quiet
        cmd.run()
      File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/distutils/command/bdist_rpm.py", line 366, in run
        self.spawn(rpm_cmd)
      File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/distutils/cmd.py", line 365, in spawn
        spawn(cmd, search_path, dry_run=self.dry_run)
      File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/distutils/spawn.py", line 36, in spawn
        _spawn_posix(cmd, search_path, dry_run=dry_run)
      File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel-z/build/Lib/distutils/spawn.py", line 159, in _spawn_posix
        % (cmd, exit_status))
    distutils.errors.DistutilsExecError: command 'rpmbuild' failed with exit status 1

    @vstinner vstinner added 3.7 (EOL) end of life tests Tests in the Lib/test dir labels Jan 24, 2018
    @vstinner
    Copy link
    Member Author

    New changeset 2b822a0 by Victor Stinner in branch 'master':
    bpo-32652: Defer pymain_set_global_config() call (bpo-5303)
    2b822a0

    @vstinner
    Copy link
    Member Author

    test_distutils pass on s390x RHEL 3.x buildbot. I close the issue.

    @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
    3.7 (EOL) end of life tests Tests in the Lib/test dir
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant