GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — JIT CI is broken due to `test_traceback` & `test_tracemalloc` · Issue #118275 · python/cpython

JIT CI is broken due to test_traceback & test_tracemalloc #118275

New issue
Copy link
New issue
Copy link
Closed
Closed
JIT CI is broken due to test_traceback & test_tracemalloc#118275
Copy link
Labels
performancePerformance or resource usagePerformance or resource usagetopic-JIT

Description

@nineteendo
nineteendo
opened on Apr 25, 2024
Issue body actions

Looks like something broke: https://github.com/python/cpython/actions/runs/8823706356/job/24224733399#step:8:9723

======================================================================
FAIL: test_env_var_invalid (test.test_tracemalloc.TestCommandLine.test_env_var_invalid) (nframe=-1)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/runner/work/cpython/cpython/Lib/test/test_tracemalloc.py", line 957, in test_env_var_invalid
    self.check_env_var_invalid(nframe)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^
  File "/home/runner/work/cpython/cpython/Lib/test/test_tracemalloc.py", line 951, in check_env_var_invalid
    self.fail(f"unexpected output: {stderr!a}")
    ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: unexpected output: b"aarch64-binfmt-P: Could not open '/lib/ld-linux-aarch64.so.1': No such file or directory\n"

======================================================================
FAIL: test_env_var_invalid (test.test_tracemalloc.TestCommandLine.test_env_var_invalid) (nframe=1073741824)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/runner/work/cpython/cpython/Lib/test/test_tracemalloc.py", line 957, in test_env_var_invalid
    self.check_env_var_invalid(nframe)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^
  File "/home/runner/work/cpython/cpython/Lib/test/test_tracemalloc.py", line 951, in check_env_var_invalid
    self.fail(f"unexpected output: {stderr!a}")
    ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: unexpected output: b"aarch64-binfmt-P: Could not open '/lib/ld-linux-aarch64.so.1': No such file or directory\n"

======================================================================
ERROR: test_encoded_file (test.test_traceback.TracebackCases.test_encoded_file)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/runner/work/cpython/cpython/Lib/test/test_traceback.py", line 439, in test_encoded_file
    do_test("", "foo", "ascii", 3)
    ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/runner/work/cpython/cpython/Lib/test/test_traceback.py", line 428, in do_test
    self.assertIn(("line %s" % lineno), stdout[1],
                                        ~~~~~~^^^
IndexError: list index out of range

----------------------------------------------------------------------

Activity

  1. hugovk commented on Apr 25, 2024

    @hugovk
    hugovk
    on Apr 25, 2024
    Member
    More actions

    See also #117672 (comment) and #112730 (comment).

    Reacted by Nice Zombies
  2. nineteendo commented on Apr 25, 2024

    @nineteendo
    nineteendo
    on Apr 25, 2024
    ContributorAuthor
    More actions

    Do we disable these tests like #118247?

  3. hugovk commented on Apr 25, 2024

    @hugovk
    hugovk
    on Apr 25, 2024
    Member
    More actions

    Maybe, let's see if someone can fix the root cause first. The JIT is experimental and the CI is allowed to fail, it's mainly an annoyance when it does.

  4. mdboom
    added
    performancePerformance or resource usagePerformance or resource usage
    on Apr 25, 2024
  5. mdboom commented on Apr 25, 2024

    @mdboom
    mdboom
    on Apr 25, 2024
    Contributor
    More actions

    Cc: @brandtbucher

  6. brandtbucher commented on Apr 25, 2024

    @brandtbucher
    brandtbucher
    on Apr 25, 2024
    Member
    More actions

    Maybe, let's see if someone can fix the root cause first. The JIT is experimental and the CI is allowed to fail, it's mainly an annoyance when it does.

    Agreed. Since it's affecting others (not just the JIT emulation) it is probably worth actually fixing or handling more generally.

  7. brandtbucher commented on Apr 25, 2024

    @brandtbucher
    brandtbucher
    on Apr 25, 2024
    Member
    More actions

    Perhaps the tests could just patch the desired environment variables instead of wiping them out completely?

  8. savannahostrowski commented on May 1, 2024

    @savannahostrowski
    savannahostrowski
    on May 1, 2024
    Member
    More actions

    I think that this is now fixed as I don't see the failures anymore on CI runs. I think that #118288 fixed things up.

  9. brandtbucher
    closed this as completedon May 1, 2024
  10. brandtbucher
    added
    topic-JIT
    on May 31, 2024
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

    performancePerformance or resource usagePerformance or resource usagetopic-JIT

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.