10000 test_opcache fails when run with -Xuops · Issue #108311 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content
test_opcache fails when run with -Xuops #108311
Closed
@gvanrossum

Description

@gvanrossum

CPython versions tested on:

CPython main branch

Operating systems tested on:

macOS

Output from running 'python -VV' on the command line:

Python 3.13.0a0 (heads/fix-func-cache-dirty:531930f47f, Aug 22 2023, 07:17:15) [Clang 14.0.3 (clang-1403.0.22.14.1)]

A clear and concise description of the bug:

~/cpython$ ./python.exe -Xuops -m test test_opcache -m test_store_attr_with_hint
0:00:00 load avg: 27.04 Run tests sequentially
0:00:00 load avg: 27.04 [1/1] test_opcache
test test_opcache failed -- Traceback (most recent call last):
  File "/Users/guido/cpython/Lib/test/test_opcache.py", line 955, in test_store_attr_with_hint
    self.assert_races_do_not_crash(opname, get_items, read, write)
  File "/Users/guido/cpython/Lib/test/test_opcache.py", line 524, in assert_races_do_not_crash
    self.assert_specialized(read, opname)
  File "/Users/guido/cpython/Lib/test/test_opcache.py", line 503, in assert_specialized
    self.assertIn(opname, opnames)
AssertionError: 'STORE_ATTR_WITH_HINT' not found in {'RETURN_CONST', 'FOR_ITER_LIST', 'LOAD_CONST', 'RESUME', 'STORE_ATTR', 'STORE_FAST', 'ENTER_EXECUTOR', 'END_FOR', 'GET_ITER', 'LOAD_FAST'}

test_opcache failed (1 failure)

== Tests result: FAILURE ==

1 test failed:
    test_opcache

Total duration: 268 ms

Tests result: FAILURE

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0