@@ -117,7 +117,7 @@ def test_config_start_with_api(uvm_plain, vm_config_file):
117117 """
118118 test_microvm = uvm_plain
119119 vm_config = _configure_vm_from_json (test_microvm , vm_config_file )
120- test_microvm .spawn ()
120+ test_microvm .spawn (serial_out_path = None )
121121
122122 assert test_microvm .state == "Running"
123123
@@ -134,7 +134,7 @@ def test_config_start_no_api(uvm_plain, vm_config_file):
134134 test_microvm = uvm_plain
135135 _configure_vm_from_json (test_microvm , vm_config_file )
136136 test_microvm .jailer .extra_args .update ({"no-api" : None })
137- test_microvm .spawn ()
137+ test_microvm .spawn (serial_out_path = None )
138138
139139 # Get names of threads in Firecracker.
140140 cmd = f"ps -T --no-headers -p { test_microvm .firecracker_pid } | awk '{{print $5}}'"
@@ -165,7 +165,7 @@ def test_config_start_no_api_exit(uvm_plain, vm_config_file):
165165 _configure_network_interface (test_microvm )
166166 test_microvm .jailer .extra_args .update ({"no-api" : None })
167167
168- test_microvm .spawn () # Start Firecracker and MicroVM
168+ test_microvm .spawn (serial_out_path = None ) # Start Firecracker and MicroVM
169169 test_microvm .ssh .run ("reboot" ) # Exit
170170
171171 test_microvm .mark_killed () # waits for process to terminate
@@ -189,7 +189,7 @@ def test_config_bad_machine_config(uvm_plain, vm_config_file):
189189 test_microvm = uvm_plain
190190 _configure_vm_from_json (test_microvm , vm_config_file )
191191 test_microvm .jailer .extra_args .update ({"no-api" : None })
192- test_microvm .spawn ()
192+ test_microvm .spawn (serial_out_path = None )
193193 test_microvm .check_log_message ("Configuration for VMM from one single json failed" )
194194
195195 test_microvm .mark_killed ()
@@ -215,7 +215,7 @@ def test_config_machine_config_params(uvm_plain, test_config):
215215 _configure_vm_from_json (test_microvm , vm_config_file )
216216 test_microvm .jailer .extra_args .update ({"no-api" : None })
217217
218- test_microvm .spawn ()
218+ test_microvm .spawn (serial_out_path = None )
219219
220220 should_fail = False
221221 if cpu_template_used and "C3" not in SUPPORTED_CPU_TEMPLATES :
@@ -247,7 +247,7 @@ def test_config_start_with_limit(uvm_plain, vm_config_file):
247247
248248 _configure_vm_from_json (test_microvm , vm_config_file )
249249 test_microvm .jailer .extra_args .update ({"http-api-max-payload-size" : "250" })
250- test_microvm .spawn ()
250+ test_microvm .spawn (serial_out_path = None )
251251
252252 assert test_microvm .state == "Running"
253253
@@ -277,7 +277,7 @@ def test_config_with_default_limit(uvm_plain, vm_config_file):
277277 test_microvm = uvm_plain
278278
279279 _configure_vm_from_json (test_microvm , vm_config_file )
280- test_microvm .spawn ()
280+ test_microvm .spawn (serial_out_path = None )
281281
282282 assert test_microvm .state == "Running"
283283
@@ -311,7 +311,7 @@ def test_start_with_metadata(uvm_plain):
311311 metadata_file = DIR / "metadata.json"
312312 _add_metadata_file (test_microvm , metadata_file )
313313
314- test_microvm .spawn ()
314+ test_microvm .spawn (serial_out_path = None )
315315
316316 test_microvm .check_log_message ("Successfully added metadata to mmds from file" )
317317
@@ -332,7 +332,7 @@ def test_start_with_metadata_limit(uvm_plain):
332332 metadata_file = DIR / "metadata.json"
333333 _add_metadata_file (test_microvm , metadata_file )
334334
335- test_microvm .spawn ()
335+ test_microvm .spawn (serial_out_path = None )
336336
337337 test_microvm .check_log_message (
338338 "Populating MMDS from file failed: The MMDS patch request doesn't fit."
@@ -352,7 +352,7 @@ def test_start_with_metadata_default_limit(uvm_plain):
352352
353353 _add_metadata_file (test_microvm , metadata_file )
354354
355- test_microvm .spawn ()
355+ test_microvm .spawn (serial_out_path = None )
356356
357357 test_microvm .check_log_message (
358358 "Populating MMDS from file failed: The MMDS patch request doesn't fit."
@@ -372,7 +372,7 @@ def test_start_with_missing_metadata(uvm_plain):
372372 test_microvm .metadata_file = vm_metadata_path
373373
374374 try :
375- test_microvm .spawn ()
375+ test_microvm .spawn (serial_out_path = None )
376376 except : # pylint: disable=bare-except
377377 pass
378378 finally :
@@ -395,7 +395,7 @@ def test_start_with_invalid_metadata(uvm_plain):
395395 test_microvm .metadata_file = vm_metadata_path
396396
397397 try :
398- test_microvm .spawn ()
398+ test_microvm .spawn (serial_out_path = None )
399399 except : # pylint: disable=bare-except
400400 pass
401401 finally :
@@ -418,7 +418,7 @@ def test_config_start_and_mmds_with_api(uvm_plain, vm_config_file):
418418 _configure_network_interface (test_microvm )
419419
420420 # Network namespace has already been created.
421- test_microvm .spawn ()
421+ test_microvm .spawn (serial_out_path = None )
422422
423423 data_store = {
424424 "latest" : {
@@ -480,7 +480,7 @@ def test_with_config_and_metadata_no_api(uvm_plain, vm_config_file, metadata_fil
480480 _add_metadata_file (test_microvm , metadata_file )
481481 _configure_network_interface (test_microvm )
482482 test_microvm .jailer .extra_args .update ({"no-api" : None })
483- test_microvm .spawn ()
483+ test_microvm .spawn (serial_out_path = None )
484484
485485 # Get MMDS version and IPv4 address configured from the file.
486486 version , ipv4_address , imds_compat = _get_optional_fields_from_file (vm_config_file )
0 commit comments