From a3dc3f4622b61e5f6015ce1e8ac81d580a4510ae Mon Sep 17 00:00:00 2001 From: Savannah Ostrowski Date: Mon, 23 Sep 2024 20:02:20 -0700 Subject: [PATCH 1/4] Add tests to skip --- Tools/jit/ignore-tests-emulated-linux.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Tools/jit/ignore-tests-emulated-linux.txt b/Tools/jit/ignore-tests-emulated-linux.txt index dbb364673b5c1a..1a8877de26a879 100644 --- a/Tools/jit/ignore-tests-emulated-linux.txt +++ b/Tools/jit/ignore-tests-emulated-linux.txt @@ -1,4 +1,7 @@ test_multiprocessing_fork +test.datetimetester.TestDate_Fast +test.datetimetester.TestDateTimeTZ_Fast +test.datetimetester.TestSubclassDateTime_Fast test.test_asyncio.test_unix_events.TestFork.test_fork_asyncio_run test.test_asyncio.test_unix_events.TestFork.test_fork_asyncio_subprocess test.test_asyncio.test_unix_events.TestFork.test_fork_signal_handling From 2492f4e886ed8f1536a43797a26e317545fb9af0 Mon Sep 17 00:00:00 2001 From: Savannah Ostrowski Date: Mon, 23 Sep 2024 21:32:09 -0700 Subject: [PATCH 2/4] update test name --- Tools/jit/ignore-tests-emulated-linux.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Tools/jit/ignore-tests-emulated-linux.txt b/Tools/jit/ignore-tests-emulated-linux.txt index 1a8877de26a879..fb0c7260ebc419 100644 --- a/Tools/jit/ignore-tests-emulated-linux.txt +++ b/Tools/jit/ignore-tests-emulated-linux.txt @@ -1,12 +1,10 @@ test_multiprocessing_fork -test.datetimetester.TestDate_Fast -test.datetimetester.TestDateTimeTZ_Fast -test.datetimetester.TestSubclassDateTime_Fast test.test_asyncio.test_unix_events.TestFork.test_fork_asyncio_run test.test_asyncio.test_unix_events.TestFork.test_fork_asyncio_subprocess test.test_asyncio.test_unix_events.TestFork.test_fork_signal_handling test.test_cmd_line.CmdLineTest.test_no_std_streams test.test_cmd_line.CmdLineTest.test_no_stdin +test.datetimetester.TestSubclassDateTime_Fast.test_strftime_y2k test.test_concurrent_futures.test_init.ProcessPoolForkFailingInitializerTest.test_initializer test.test_concurrent_futures.test_process_pool.ProcessPoolForkProcessPoolExecutorTest.test_ressources_gced_in_workers test.test_external_inspection.TestGetStackTrace.test_remote_stack_trace From 97fcd9cc2ef728b1c30fe8bc69afdcb8dc0c5227 Mon Sep 17 00:00:00 2001 From: Savannah Ostrowski Date: Tue, 24 Sep 2024 09:56:17 -0700 Subject: [PATCH 3/4] update test name --- Tools/jit/ignore-tests-emulated-linux.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tools/jit/ignore-tests-emulated-linux.txt b/Tools/jit/ignore-tests-emulated-linux.txt index fb0c7260ebc419..e379e39def0eaf 100644 --- a/Tools/jit/ignore-tests-emulated-linux.txt +++ b/Tools/jit/ignore-tests-emulated-linux.txt @@ -1,10 +1,10 @@ test_multiprocessing_fork +test_strftime_y2k test.test_asyncio.test_unix_events.TestFork.test_fork_asyncio_run test.test_asyncio.test_unix_events.TestFork.test_fork_asyncio_subprocess test.test_asyncio.test_unix_events.TestFork.test_fork_signal_handling test.test_cmd_line.CmdLineTest.test_no_std_streams test.test_cmd_line.CmdLineTest.test_no_stdin -test.datetimetester.TestSubclassDateTime_Fast.test_strftime_y2k test.test_concurrent_futures.test_init.ProcessPoolForkFailingInitializerTest.test_initializer test.test_concurrent_futures.test_process_pool.ProcessPoolForkProcessPoolExecutorTest.test_ressources_gced_in_workers test.test_external_inspection.TestGetStackTrace.test_remote_stack_trace From 417682527a87099a1cef415cffb5364bec6d4989 Mon Sep 17 00:00:00 2001 From: Savannah Ostrowski Date: Tue, 24 Sep 2024 14:35:17 -0700 Subject: [PATCH 4/4] remove --enable-optimizations temporarily --- .github/workflows/jit.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/jit.yml b/.github/workflows/jit.yml index 8f56220feea90b..754f179f105591 100644 --- a/.github/workflows/jit.yml +++ b/.github/workflows/jit.yml @@ -157,7 +157,7 @@ jobs: CC="${{ matrix.compiler == 'clang' && 'clang --target=$HOST' || '$HOST-gcc' }}" \ CPP="$CC --preprocess" \ HOSTRUNNER=qemu-${{ matrix.architecture }} \ - ./configure --enable-experimental-jit ${{ matrix.debug && '--with-pydebug' || '--enable-optimizations --with-lto' }} --build=x86_64-linux-gnu --host="$HOST" --with-build-python=../build/bin/python3 --with-pkg-config=no ac_cv_buggy_getaddrinfo=no ac_cv_file__dev_ptc=no ac_cv_file__dev_ptmx=yes + ./configure --enable-experimental-jit ${{ matrix.debug && '--with-pydebug' || '--with-lto' }} --build=x86_64-linux-gnu --host="$HOST" --with-build-python=../build/bin/python3 --with-pkg-config=no ac_cv_buggy_getaddrinfo=no ac_cv_file__dev_ptc=no ac_cv_file__dev_ptmx=yes make all --jobs 4 ./python -m test --ignorefile=Tools/jit/ignore-tests-emulated-linux.txt --multiprocess 0 --timeout 4500 --verbose2 --verbose3