@@ -71,8 +71,7 @@ def run(label, inputs=None, overrides=None, failure_option=None):
7171 if values is not None :
7272 command += ["-e" , f"PINEFORGE_{ name } ={ json .dumps (values )} " ]
7373 command .append (image )
74- process = subprocess .run (command , capture_output = True , text = True ,
75- timeout = 180 )
74+ process = subprocess .run (command , capture_output = True , text = True )
7675 (artifacts / f"{ label } .command.json" ).write_text (json .dumps (command ))
7776 (artifacts / f"{ label } .stdout.json" ).write_text (process .stdout )
7877 (artifacts / f"{ label } .stderr.log" ).write_text (process .stderr )
@@ -274,7 +273,7 @@ def check(name, condition, value):
274273 "--mount" , f"type=bind,src={ compiled } ,dst=/proof" ,
275274 "-e" , "PINEFORGE_INPUTS=" + json .dumps (inputs ),
276275 "-e" , "PINEFORGE_OVERRIDES=" + json .dumps (settings ), image ]
277- result = subprocess .run (command , capture_output = True , text = True , timeout = 180 )
276+ result = subprocess .run (command , capture_output = True , text = True )
278277 case = artifacts / label
279278 (case / "command.json" ).write_text (json .dumps (command ))
280279 (case / "stdout.json" ).write_text (result .stdout )
@@ -400,7 +399,7 @@ def legacy(path):
400399 "--mount" , f"type=bind,src={ source } ,dst=/in,readonly" ,
401400 "--mount" , f"type=bind,src={ compiled } ,dst=/proof" ,
402401 "-e" , "PINEFORGE_INPUTS=" + json .dumps (inputs ), image ]
403- result = subprocess .run (command , capture_output = True , text = True , timeout = 180 )
402+ result = subprocess .run (command , capture_output = True , text = True )
404403 (case / "command.json" ).write_text (json .dumps (command ))
405404 (case / "stdout.json" ).write_text (result .stdout )
406405 (case / "stderr.log" ).write_text (result .stderr )
@@ -562,7 +561,7 @@ def check(name, condition, value):
562561 "--mount" , f"type=bind,src={ Path (__file__ ).resolve ()} ,dst=/probe.py,readonly" ,
563562 "--entrypoint" , "python3" , image , "/probe.py" ,
564563 "--producer-unicode" if unicode_only else "--producer-classes" ]
565- oracle = subprocess .run (oracle_command , capture_output = True , text = True , timeout = 120 )
564+ oracle = subprocess .run (oracle_command , capture_output = True , text = True )
566565 (artifacts / "producer.command.json" ).write_text (json .dumps (oracle_command ))
567566 (artifacts / "producer.stdout.json" ).write_text (oracle .stdout )
568567 (artifacts / "producer.stderr.log" ).write_text (oracle .stderr )
@@ -589,7 +588,7 @@ def check(name, condition, value):
589588 "--mount" , f"type=bind,src={ source } ,dst=/in,readonly" ,
590589 "--mount" , f"type=bind,src={ compiled } ,dst=/proof" ,
591590 "-e" , "PINEFORGE_INPUTS=" + json .dumps (inputs ), image ]
592- result = subprocess .run (command , capture_output = True , text = True , timeout = 180 )
591+ result = subprocess .run (command , capture_output = True , text = True )
593592 (case / "command.json" ).write_text (json .dumps (command ))
594593 (case / "stdout.json" ).write_text (result .stdout )
595594 (case / "stderr.log" ).write_text (result .stderr )
@@ -657,7 +656,7 @@ def check(name, condition, value):
657656 "--mount" , f"type=bind,src={ source } ,dst=/in,readonly" ,
658657 "--mount" , f"type=bind,src={ compiled } ,dst=/proof" ,
659658 "-e" , "PINEFORGE_INPUTS=" + json .dumps (inputs ), image ]
660- result = subprocess .run (command , capture_output = True , text = True , timeout = 180 )
659+ result = subprocess .run (command , capture_output = True , text = True )
661660 (case / "command.json" ).write_text (json .dumps (command ))
662661 (case / "stdout.json" ).write_text (result .stdout )
663662 (case / "stderr.log" ).write_text (result .stderr )
@@ -671,7 +670,7 @@ def check(name, condition, value):
671670 "--mount" , f"type=bind,src={ Path (__file__ ).resolve ()} ,dst=/probe.py,readonly" ,
672671 "--mount" , f"type=bind,src={ compiled } ,dst=/proof,readonly" ,
673672 "--entrypoint" , "python3" , image , "/probe.py" , "--native-receipt" , "/proof/" + plugin .name ]
674- observed = subprocess .run (observe , capture_output = True , text = True , timeout = 60 )
673+ observed = subprocess .run (observe , capture_output = True , text = True )
675674 (case / "native.command.json" ).write_text (json .dumps (observe ))
676675 (case / "native.stdout.json" ).write_text (observed .stdout )
677676 (case / "native.stderr.log" ).write_text (observed .stderr )
@@ -741,7 +740,7 @@ def check(name, condition, value):
741740 command = ["docker" , "run" , "--rm" , "--network" , "none" ,
742741 "--mount" , f"type=bind,src={ source } ,dst=/in,readonly" ,
743742 "-e" , "PINEFORGE_TRANSPILE_ONLY=1" , image ]
744- emitted = subprocess .run (command , capture_output = True , text = True , timeout = 180 )
743+ emitted = subprocess .run (command , capture_output = True , text = True )
745744 (artifacts / "strategy.pine" ).write_text (ALLOWLIST_STRATEGY , encoding = "utf-8" )
746745 (artifacts / "transpile.command.json" ).write_text (json .dumps (command ))
747746 (artifacts / "transpile.cpp" ).write_text (emitted .stdout , encoding = "utf-8" )
@@ -823,7 +822,7 @@ def once(text, old, new):
823822 "--mount" , f"type=bind,src={ cpp_dir } ,dst=/in,readonly" ,
824823 "--mount" , f"type=bind,src={ compiled } ,dst=/proof" ,
825824 "-e" , "PINEFORGE_INPUTS=" + json .dumps (inputs ), image ]
826- result = subprocess .run (command , capture_output = True , text = True , timeout = 240 )
825+ result = subprocess .run (command , capture_output = True , text = True )
827826 (case / "command.json" ).write_text (json .dumps (command ))
828827 (case / "stdout.json" ).write_text (result .stdout )
829828 (case / "stderr.log" ).write_text (result .stderr )
@@ -841,7 +840,7 @@ def once(text, old, new):
841840 "--mount" , f"type=bind,src={ compiled } ,dst=/proof,readonly" ,
842841 "--entrypoint" , "python3" , image , "/probe.py" , "--allowlist-native" ,
843842 "/proof/" + plugin .name , json .dumps (inputs )]
844- observed = subprocess .run (observe , capture_output = True , text = True , timeout = 60 )
843+ observed = subprocess .run (observe , capture_output = True , text = True )
845844 (case / "native.command.json" ).write_text (json .dumps (observe ))
846845 (case / "native.stdout.json" ).write_text (observed .stdout )
847846 (case / "native.stderr.log" ).write_text (observed .stderr )
@@ -974,7 +973,7 @@ def check(name, condition, detail):
974973 (source / "strategy.pine" ).write_text (STRATEGY )
975974 command = ["docker" , "run" , "--rm" , "--network" , "none" , "--mount" ,
976975 f"type=bind,src={ source } ,dst=/in,readonly" , "-e" , "PINEFORGE_TRANSPILE_ONLY=1" , image ]
977- emitted = subprocess .run (command , capture_output = True , text = True , timeout = 180 )
976+ emitted = subprocess .run (command , capture_output = True , text = True )
978977 (artifacts / "transpile.command.json" ).write_text (json .dumps (command ))
979978 (artifacts / "transpile.cpp" ).write_text (emitted .stdout )
980979 (artifacts / "transpile.stderr.log" ).write_text (emitted .stderr )
@@ -1023,7 +1022,7 @@ def method(body):
10231022 f"type=bind,src={ inputs_dir } ,dst=/in,readonly" , "--mount" ,
10241023 f"type=bind,src={ compiled } ,dst=/proof" , "-e" , "PINEFORGE_INPUTS=" + json .dumps (inputs ),
10251024 "-e" , "PINEFORGE_OVERRIDES=" + json .dumps (overrides ), image ]
1026- result = subprocess .run (command , capture_output = True , text = True , timeout = 240 )
1025+ result = subprocess .run (command , capture_output = True , text = True )
10271026 for suffix , data in (("command.json" , json .dumps (command )), ("stdout.json" , result .stdout ),
10281027 ("stderr.log" , result .stderr ), ("exit" , str (result .returncode ))):
10291028 (case / suffix ).write_text (data )
0 commit comments