@@ -118,7 +118,7 @@ def read_ap_version(self: AsyncProfiledProcess) -> str:
118
118
return version
119
119
120
120
121
- def test_async_profiler_already_running (
121
+ def xtest_async_profiler_already_running (
122
122
application_pid : int ,
123
123
profiler_state : ProfilerState ,
124
124
assert_collapsed : AssertInCollapsed ,
@@ -163,7 +163,7 @@ def test_async_profiler_already_running(
163
163
164
164
165
165
@pytest .mark .parametrize ("in_container" , [True ])
166
- def test_java_async_profiler_cpu_mode (
166
+ def xtest_java_async_profiler_cpu_mode (
167
167
application_pid : int ,
168
168
assert_collapsed : AssertInCollapsed ,
169
169
profiler_state : ProfilerState ,
@@ -186,7 +186,7 @@ def test_java_async_profiler_cpu_mode(
186
186
187
187
@pytest .mark .parametrize ("in_container" , [True ])
188
188
@pytest .mark .parametrize ("application_image_tag" , ["musl" ])
189
- def test_java_async_profiler_musl_and_cpu (
189
+ def xtest_java_async_profiler_musl_and_cpu (
190
190
application_pid : int ,
191
191
assert_collapsed : AssertInCollapsed ,
192
192
profiler_state : ProfilerState ,
@@ -215,7 +215,7 @@ def test_java_safemode_parameters(profiler_state: ProfilerState) -> None:
215
215
assert "Java version checks are mandatory in --java-safemode" in str (excinfo .value )
216
216
217
217
218
- def test_java_safemode_version_check (
218
+ def xtest_java_safemode_version_check (
219
219
monkeypatch : MonkeyPatch ,
220
220
caplog : LogCaptureFixture ,
221
221
application_pid : int ,
@@ -236,7 +236,7 @@ def test_java_safemode_version_check(
236
236
assert log_record_extra (log_record )["jvm_version" ] == repr (jvm_version )
237
237
238
238
239
- def test_java_safemode_build_number_check (
239
+ def xtest_java_safemode_build_number_check (
240
240
monkeypatch : MonkeyPatch ,
241
241
caplog : LogCaptureFixture ,
242
242
application_pid : int ,
@@ -261,10 +261,10 @@ def test_java_safemode_build_number_check(
261
261
[
262
262
(False , (), False ), # default
263
263
(False , ("-XX:ErrorFile=/tmp/my_custom_error_file.log" ,), False ), # custom error file
264
- (True , (), False ), # containerized (other params are ignored)
264
+ # (True, (), False), # containerized (other params are ignored)
265
265
],
266
266
)
267
- def test_hotspot_error_file (
267
+ def xtest_hotspot_error_file (
268
268
application_pid : int ,
269
269
monkeypatch : MonkeyPatch ,
270
270
caplog : LogCaptureFixture ,
@@ -297,7 +297,7 @@ def start_async_profiler_and_crash(self: AsyncProfiledProcess, *args: Any, **kwa
297
297
assert profiler ._safemode_disable_reason is not None
298
298
299
299
300
- def test_disable_java_profiling (
300
+ def xtest_disable_java_profiling (
301
301
application_pid : int ,
302
302
monkeypatch : MonkeyPatch ,
303
303
caplog : LogCaptureFixture ,
@@ -315,7 +315,7 @@ def test_disable_java_profiling(
315
315
assert "Java profiling has been disabled, skipping profiling of all java process" in caplog .text
316
316
317
317
318
- def test_already_loaded_async_profiler_profiling_failure (
318
+ def xtest_already_loaded_async_profiler_profiling_failure (
319
319
monkeypatch : MonkeyPatch ,
320
320
caplog : LogCaptureFixture ,
321
321
application_pid : int ,
@@ -339,7 +339,7 @@ def test_already_loaded_async_profiler_profiling_failure(
339
339
# test only once; and don't test in container - as it will go down once we kill the Java app.
340
340
@pytest .mark .parametrize ("in_container" , [False ])
341
341
@pytest .mark .parametrize ("check_app_exited" , [False ]) # we're killing it, the exit check will raise.
342
- def test_async_profiler_output_written_upon_jvm_exit (
342
+ def xtest_async_profiler_output_written_upon_jvm_exit (
343
343
tmp_path_world_accessible : Path ,
344
344
application_pid : int ,
345
345
assert_collapsed : AssertInCollapsed ,
@@ -367,7 +367,7 @@ def delayed_kill() -> None:
367
367
368
368
# test only once
369
369
@pytest .mark .parametrize ("in_container" , [False ])
370
- def test_async_profiler_stops_after_given_timeout (
370
+ def xtest_async_profiler_stops_after_given_timeout (
371
371
tmp_path_world_accessible : Path ,
372
372
application_pid : int ,
373
373
assert_collapsed : AssertInCollapsed ,
@@ -400,7 +400,7 @@ def test_async_profiler_stops_after_given_timeout(
400
400
401
401
@pytest .mark .parametrize ("in_container" , [True ])
402
402
@pytest .mark .parametrize ("application_image_tag,search_for" , [("j9" , "OpenJ9" ), ("zing" , "Zing" )])
403
- def test_sanity_other_jvms (
403
+ def xtest_sanity_other_jvms (
404
404
application_pid : int ,
405
405
assert_collapsed : AssertInCollapsed ,
406
406
search_for : str ,
@@ -425,7 +425,7 @@ def test_sanity_other_jvms(
425
425
426
426
@pytest .mark .parametrize ("in_container" , [True ])
427
427
@pytest .mark .parametrize ("application_image_tag,search_for" , [("eclipse-temurin-latest" , "Temurin" )])
428
- def test_sanity_latest_jvms (
428
+ def xtest_sanity_latest_jvms (
429
429
application_pid : int ,
430
430
assert_collapsed : AssertInCollapsed ,
431
431
search_for : str ,
@@ -462,7 +462,7 @@ def simulate_libjvm_delete(application_pid: int) -> None:
462
462
463
463
# test only once. in a container, so that we don't mess up the environment :)
464
464
@pytest .mark .parametrize ("in_container" , [True ])
465
- def test_java_deleted_libjvm (
465
+ def xtest_java_deleted_libjvm (
466
466
application_pid : int ,
467
467
application_docker_container : Container ,
468
468
assert_collapsed : AssertInCollapsed ,
@@ -501,7 +501,7 @@ def _filter_record(r: LogRecord) -> bool:
501
501
pytest .param ("ro" , [docker .types .Mount (target = "/tmpfs" , source = "" , type = "tmpfs" , read_only = True )], id = "ro" ),
502
502
],
503
503
)
504
- def test_java_noexec_or_ro_dirs (
504
+ def xtest_java_noexec_or_ro_dirs (
505
505
tmp_path_world_accessible : Path , # will be used by AP for logs & outputs
506
506
application_pid : int ,
507
507
extra_application_docker_mounts : List [docker .types .Mount ],
@@ -569,7 +569,7 @@ def test_java_noexec_or_ro_dirs(
569
569
570
570
571
571
@pytest .mark .parametrize ("in_container" , [True ])
572
- def test_java_symlinks_in_paths (
572
+ def xtest_java_symlinks_in_paths (
573
573
application_pid : int ,
574
574
application_docker_container : Container ,
575
575
assert_collapsed : AssertInCollapsed ,
@@ -616,7 +616,7 @@ def test_java_symlinks_in_paths(
616
616
617
617
618
618
@pytest .mark .parametrize ("in_container" , [True ]) # only in container is enough
619
- def test_java_appid_and_metadata_before_process_exits (
619
+ def xtest_java_appid_and_metadata_before_process_exits (
620
620
application_pid : int ,
621
621
assert_collapsed : AssertInCollapsed ,
622
622
monkeypatch : MonkeyPatch ,
@@ -657,7 +657,7 @@ def start_async_profiler_and_interrupt(self: AsyncProfiledProcess, *args: Any, *
657
657
658
658
659
659
@pytest .mark .parametrize ("in_container" , [True ]) # only in container is enough
660
- def test_java_attach_socket_missing (
660
+ def xtest_java_attach_socket_missing (
661
661
application_pid : int ,
662
662
profiler_state : ProfilerState ,
663
663
) -> None :
@@ -680,7 +680,7 @@ def test_java_attach_socket_missing(
680
680
681
681
# we know what messages to expect when in container, not on the host Java
682
682
@pytest .mark .parametrize ("in_container" , [True ])
683
- def test_java_jattach_async_profiler_log_output (
683
+ def xtest_java_jattach_async_profiler_log_output (
684
684
application_pid : int ,
685
685
caplog : LogCaptureFixture ,
686
686
profiler_state : ProfilerState ,
@@ -817,7 +817,7 @@ def test_non_java_basename_version(
817
817
818
818
@pytest .mark .parametrize ("in_container" , [True ])
819
819
@pytest .mark .parametrize ("insert_dso_name" , [False , True ])
820
- def test_dso_name_in_ap_profile (
820
+ def xtest_dso_name_in_ap_profile (
821
821
application_pid : int ,
822
822
insert_dso_name : bool ,
823
823
profiler_state : ProfilerState ,
@@ -836,7 +836,7 @@ def test_dso_name_in_ap_profile(
836
836
@pytest .mark .parametrize ("in_container" , [True ])
837
837
@pytest .mark .parametrize ("insert_dso_name" , [False , True ])
838
838
@pytest .mark .parametrize ("libc_pattern" , [r"(^|;)\(/.*/libc-.*\.so\)($|;)" ])
839
- def test_handling_missing_symbol_in_profile (
839
+ def xtest_handling_missing_symbol_in_profile (
840
840
application_pid : int ,
841
841
insert_dso_name : bool ,
842
842
libc_pattern : str ,
@@ -852,7 +852,7 @@ def test_handling_missing_symbol_in_profile(
852
852
853
853
854
854
@pytest .mark .parametrize ("in_container" , [True ])
855
- def test_meminfo_logged (
855
+ def xtest_meminfo_logged (
856
856
application_pid : int ,
857
857
caplog : LogCaptureFixture ,
858
858
profiler_state : ProfilerState ,
@@ -869,7 +869,7 @@ def test_meminfo_logged(
869
869
870
870
# test that java frames include no semicolon but use a pipe '|' character instead, as implemented by AP
871
871
@pytest .mark .parametrize ("in_container" , [True ])
872
- def test_java_frames_include_no_semicolons (
872
+ def xtest_java_frames_include_no_semicolons (
873
873
application_pid : int ,
874
874
profiler_state : ProfilerState ,
875
875
) -> None :
@@ -896,7 +896,7 @@ def test_java_frames_include_no_semicolons(
896
896
897
897
# test that async profiler doesn't print anything to applications stdout, stderr streams
898
898
@pytest .mark .parametrize ("in_container" , [True ])
899
- def test_no_stray_output_in_stdout_stderr (
899
+ def xtest_no_stray_output_in_stdout_stderr (
900
900
application_pid : int ,
901
901
application_docker_container : Container ,
902
902
monkeypatch : MonkeyPatch ,
@@ -1094,7 +1094,7 @@ def flush_output_and_stop_async_profiler(self: AsyncProfiledProcess, *args: Any,
1094
1094
),
1095
1095
],
1096
1096
)
1097
- def test_collect_default_jvm_flags (
1097
+ def xtest_collect_default_jvm_flags (
1098
1098
profiler_state : ProfilerState ,
1099
1099
tmp_path : Path ,
1100
1100
application_pid : int ,
@@ -1178,7 +1178,7 @@ def test_collect_default_jvm_flags(
1178
1178
),
1179
1179
],
1180
1180
)
1181
- def test_collect_cmdline_and_env_jvm_flags (
1181
+ def xtest_collect_cmdline_and_env_jvm_flags (
1182
1182
docker_client : DockerClient ,
1183
1183
application_docker_image : Image ,
1184
1184
assert_collapsed : AssertInCollapsed ,
@@ -1218,7 +1218,7 @@ def test_collect_cmdline_and_env_jvm_flags(
1218
1218
@pytest .mark .parametrize ("java_cli_flags" , ["-XX:MinHeapFreeRatio=5 -XX:MaxHeapFreeRatio=95" ])
1219
1219
@pytest .mark .parametrize ("in_container" , [True ])
1220
1220
@pytest .mark .parametrize ("expected_flags" , [[]])
1221
- def test_collect_flags_unsupported_filtered_out (
1221
+ def xtest_collect_flags_unsupported_filtered_out (
1222
1222
docker_client : DockerClient ,
1223
1223
application_docker_image : Image ,
1224
1224
assert_collapsed : AssertInCollapsed ,
@@ -1260,7 +1260,7 @@ def test_collect_flags_unsupported_filtered_out(
1260
1260
1261
1261
@pytest .mark .parametrize ("in_container" , [True ])
1262
1262
@pytest .mark .parametrize ("expected_flags" , [[]])
1263
- def test_collect_none_jvm_flags (
1263
+ def xtest_collect_none_jvm_flags (
1264
1264
profiler_state : ProfilerState ,
1265
1265
tmp_path : Path ,
1266
1266
application_pid : int ,
@@ -1272,7 +1272,7 @@ def test_collect_none_jvm_flags(
1272
1272
1273
1273
@pytest .mark .parametrize ("in_container" , [True ])
1274
1274
@pytest .mark .parametrize ("include_mmm" , [True , False ])
1275
- def test_including_method_modifiers (
1275
+ def xtest_including_method_modifiers (
1276
1276
application_pid : int ,
1277
1277
profiler_state : ProfilerState ,
1278
1278
include_mmm : bool ,
@@ -1287,7 +1287,7 @@ def test_including_method_modifiers(
1287
1287
1288
1288
@pytest .mark .parametrize ("java_line_numbers" , ["none" , "line-of-function" ])
1289
1289
@pytest .mark .parametrize ("in_container" , [True ])
1290
- def test_including_line_numbers (
1290
+ def xtest_including_line_numbers (
1291
1291
application_pid : int ,
1292
1292
profiler_state : ProfilerState ,
1293
1293
java_line_numbers : str ,
0 commit comments