Skip to content

test_compileall prints uneccessary information #114075

Closed

Description

@Eclips4

Bug report

Bug description:

Full trace:

./python.exe -m test -R 3:3 test_compileall
Using random seed: 181893785
0:00:00 load avg: 2.79 Run 1 test sequentially
0:00:00 load avg: 2.79 [1/1] test_compileall
beginning 6 repetitions
123456
The stripdir path '/var/folders/02/ps_0fn7s0sx9kkngq6ykymdh0000gn/T/tmplkkvydvt/test/build/fake' is not a valid prefix for source path '/var/folders/02/ps_0fn7s0sx9kkngq6ykymdh0000gn/T/tmplkkvydvt/test/build/real/path/test.py'; ignoring
The stripdir path '/var/folders/02/ps_0fn7s0sx9kkngq6ykymdh0000gn/T/tmppru9pv_h/test/build/fake' is not a valid prefix for source path '/var/folders/02/ps_0fn7s0sx9kkngq6ykymdh0000gn/T/tmppru9pv_h/test/build/real/path/test.py'; ignoring
.The stripdir path '/var/folders/02/ps_0fn7s0sx9kkngq6ykymdh0000gn/T/tmp7xzrjbg_/test/build/fake' is not a valid prefix for source path '/var/folders/02/ps_0fn7s0sx9kkngq6ykymdh0000gn/T/tmp7xzrjbg_/test/build/real/path/test.py'; ignoring
The stripdir path '/var/folders/02/ps_0fn7s0sx9kkngq6ykymdh0000gn/T/tmp27hnkava/test/build/fake' is not a valid prefix for source path '/var/folders/02/ps_0fn7s0sx9kkngq6ykymdh0000gn/T/tmp27hnkava/test/build/real/path/test.py'; ignoring
.The stripdir path '/var/folders/02/ps_0fn7s0sx9kkngq6ykymdh0000gn/T/tmph6rxs48l/test/build/fake' is not a valid prefix for source path '/var/folders/02/ps_0fn7s0sx9kkngq6ykymdh0000gn/T/tmph6rxs48l/test/build/real/path/test.py'; ignoring
The stripdir path '/var/folders/02/ps_0fn7s0sx9kkngq6ykymdh0000gn/T/tmpt8mlethj/test/build/fake' is not a valid prefix for source path '/var/folders/02/ps_0fn7s0sx9kkngq6ykymdh0000gn/T/tmpt8mlethj/test/build/real/path/test.py'; ignoring
.The stripdir path '/var/folders/02/ps_0fn7s0sx9kkngq6ykymdh0000gn/T/tmpedg59hhr/test/build/fake' is not a valid prefix for source path '/var/folders/02/ps_0fn7s0sx9kkngq6ykymdh0000gn/T/tmpedg59hhr/test/build/real/path/test.py'; ignoring
The stripdir path '/var/folders/02/ps_0fn7s0sx9kkngq6ykymdh0000gn/T/tmpw3kb6a4i/test/build/fake' is not a valid prefix for source path '/var/folders/02/ps_0fn7s0sx9kkngq6ykymdh0000gn/T/tmpw3kb6a4i/test/build/real/path/test.py'; ignoring
.The stripdir path '/var/folders/02/ps_0fn7s0sx9kkngq6ykymdh0000gn/T/tmpxsgg9r_l/test/build/fake' is not a valid prefix for source path '/var/folders/02/ps_0fn7s0sx9kkngq6ykymdh0000gn/T/tmpxsgg9r_l/test/build/real/path/test.py'; ignoring
The stripdir path '/var/folders/02/ps_0fn7s0sx9kkngq6ykymdh0000gn/T/tmp0t11_owi/test/build/fake' is not a valid prefix for source path '/var/folders/02/ps_0fn7s0sx9kkngq6ykymdh0000gn/T/tmp0t11_owi/test/build/real/path/test.py'; ignoring
.The stripdir path '/var/folders/02/ps_0fn7s0sx9kkngq6ykymdh0000gn/T/tmp_vvh0tq2/test/build/fake' is not a valid prefix for source path '/var/folders/02/ps_0fn7s0sx9kkngq6ykymdh0000gn/T/tmp_vvh0tq2/test/build/real/path/test.py'; ignoring
The stripdir path '/var/folders/02/ps_0fn7s0sx9kkngq6ykymdh0000gn/T/tmp4t0whft4/test/build/fake' is not a valid prefix for source path '/var/folders/02/ps_0fn7s0sx9kkngq6ykymdh0000gn/T/tmp4t0whft4/test/build/real/path/test.py'; ignoring
.
test_compileall passed in 39.8 sec

== Tests result: SUCCESS ==

1 test OK.

Total duration: 39.8 sec
Total tests: run=141 skipped=6
Total test files: run=1/1
Result: SUCCESS

CPython versions tested on:

CPython main branch

Operating systems tested on:

macOS

Linked PRs

Activity

  1. added
    type-bugAn unexpected behavior, bug, or error
    testsTests in the Lib/test dir
    on Jan 15, 2024
  2. added a commit that references this issue on Jan 15, 2024
  3. added a commit that references this issue on Jan 15, 2024
  4. terryjreedy commented on Jan 15, 2024

    @terryjreedy
    Member

    Any reason not to backport this?

  5. AlexWaygood commented on Jan 15, 2024

    @AlexWaygood
    Member

    Any reason not to backport this?

    The problematic test only exists on the main branch

  6. added a commit that references this issue on Jan 22, 2024
  7. added a commit that references this issue on Feb 11, 2024
  8. added a commit that references this issue on Sep 2, 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

    3.13only security fixestestsTests 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