#115 Don't skip so many tests on the CI
Merged 3 months ago by churchyard. Opened 3 months ago by churchyard.
rpms/ churchyard/python3 noskip  into  master

file modified
+2 -2

@@ -13,10 +13,10 @@ 

          run: VERSION=3.7 ./venv.sh

      - selftest:

          dir: python/selftest

-         run: VERSION=3.7 X="-x test_socket -x test_asyncgen -x test_compile -x test_concurrent_futures -x test_itertools -x test_multiprocessing_fork -x test_multiprocessing_forkserver -x test_shutil -x test_time -x test_multiprocessing_spawn -x test_threading -x test_wsgiref" ./parallel.sh

+         run: VERSION=3.7 X="-x test_wsgiref" ./parallel.sh

      - debugtest:

          dir: python/selftest

-         run: VERSION=3.7 PYTHON=python3-debug X="-x test_socket -x test_asyncgen -x test_compile -x test_concurrent_futures -x test_itertools -x test_multiprocessing_fork -x test_multiprocessing_forkserver -x test_shutil -x test_time -x test_multiprocessing_spawn -x test_threading -x test_wsgiref" ./parallel.sh

+         run: VERSION=3.7 PYTHON=python3-debug X="-x test_wsgiref" ./parallel.sh

      required_packages:

      - gcc  # for extension building in venv and selftest

      - gdb  # for test_gdb

This is just a check to see what tests can be really unskipped.

test_wsgiref fails because we set the environment variable X: https://bugs.python.org/issue37411

rebased onto 7b33b03

3 months ago

Metadata Update from @churchyard:
- Request assigned

3 months ago

Metadata Update from @churchyard:
- Pull-request tagged with: WIP, tests

3 months ago

I latest build, there were still 3 tests failed: test_cmd_line_script test_multiprocessing_main_handling test_runpy. On IRc, Miro asked me to wait until he marks the PR as ready.

Note that those tests failed in the%check section of the Koji scratchbuild triggered by the CI, not on the CI itself. Either some random failure or something is (again) broken on rawhide. Hence, I've retriggered the CI tests.

It seems we have a problem, @vstinner you can see here: https://koji.fedoraproject.org/koji/taskinfo?taskID=35863851

3 tests failed:
test_cmd_line_script test_multiprocessing_main_handling test_runpy

The 3 failures look similar:

  • FAIL: test_zipfile_compiled (test.test_cmd_line_script.CmdLineTest)
  • ERROR: test_zipfile_compiled (test.test_runpy.RunPathTestCase)
  • FAIL: test_zipfile_compiled (test.test_multiprocessing_main_handling.ForkCmdLineTest)

Message:

can't find '__main__' module in '(...).zip'

I tried to reproduce test_cmd_line_script. When I build Python manually on Rawhide, I'm unable to reproduce the issue. I tried on the Fedora Rawhide buildbot VM (which is up to date) and my Fedora Rawhide VM (I'm updating it).

It's surprising that the test only fails on Fedora CI, but pass on simple-koji-ci (and on upstream buildbot and on my VM).

rebased onto 9f5808c

3 months ago

2 new commits added

  • Don't skip so many tests on the CI
  • Don't let RPM set SOURCE_DATE_EPOCH based on the latest %changelog date
3 months ago

Metadata Update from @churchyard:
- Request assignee reset

3 months ago

Metadata Update from @churchyard:
- Pull-request untagged with: WIP

3 months ago

rebased onto 3815a08

3 months ago

Pull-Request has been merged by churchyard

3 months ago