diff --git a/contest/hw/hwksft.py b/contest/hw/hwksft.py index 281810c..87da763 100644 --- a/contest/hw/hwksft.py +++ b/contest/hw/hwksft.py @@ -369,6 +369,7 @@ def test(binfo, rinfo, cbarg): # pylint: disable=unused-argument except Exception as e: print(f"Warning: failed to close reservation {reservation_id}: {e}") + os.mknod(os.path.join(results_path, ".tester_done")) print("Done at", datetime.datetime.now()) if cases is None: cases = [{ diff --git a/contest/remote/exec.py b/contest/remote/exec.py index 47454e1..5aef25f 100755 --- a/contest/remote/exec.py +++ b/contest/remote/exec.py @@ -76,6 +76,9 @@ def test(binfo, rinfo, config): config.get('local', 'results_path') + '/' + \ rinfo['run-cookie'] + os.mknod(os.path.join(results_path, ".tester_done")) + print("Done at", datetime.datetime.now()) + return [{'test': config.get('executor', 'test'), 'group': config.get('executor', 'group'), 'result': res, 'link': link}] diff --git a/contest/remote/gh.py b/contest/remote/gh.py index 6db9f3e..a70d45d 100755 --- a/contest/remote/gh.py +++ b/contest/remote/gh.py @@ -219,6 +219,9 @@ def test(binfo, rinfo, cbarg): one['retry'] = one2['result'] break + os.mknod(os.path.join(results_path, ".tester_done")) + print("Done at", datetime.datetime.now()) + return res diff --git a/contest/remote/kunit.py b/contest/remote/kunit.py index bdfa2fd..f0105fe 100755 --- a/contest/remote/kunit.py +++ b/contest/remote/kunit.py @@ -194,6 +194,7 @@ def test(binfo, rinfo, config): 'group': config.get('executor', 'group'), 'result': 'fail', 'link': link}] + os.mknod(os.path.join(results_path, ".tester_done")) print("Done at", datetime.datetime.now()) return cases diff --git a/contest/remote/vmksft-p.py b/contest/remote/vmksft-p.py index 1aeaaa9..c605652 100755 --- a/contest/remote/vmksft-p.py +++ b/contest/remote/vmksft-p.py @@ -317,6 +317,7 @@ def test(binfo, rinfo, cbarg): if not in_queue.empty(): print("ERROR: in queue is not empty") + os.mknod(os.path.join(results_path, ".tester_done")) print("Done at", datetime.datetime.now()) return cases diff --git a/contest/remote/vmksft.py b/contest/remote/vmksft.py index a738f0f..2fc0b66 100755 --- a/contest/remote/vmksft.py +++ b/contest/remote/vmksft.py @@ -221,6 +221,7 @@ def test(binfo, rinfo, cbarg): vm.stop() vm.dump_log(results_path + '/vm-stop') + os.mknod(os.path.join(results_path, ".tester_done")) print("Done at", datetime.datetime.now()) return cases diff --git a/contest/remote/vmtest.py b/contest/remote/vmtest.py index a2ca5b1..7d0dc5a 100755 --- a/contest/remote/vmtest.py +++ b/contest/remote/vmtest.py @@ -129,6 +129,7 @@ def test(binfo, rinfo, cbarg): vm.stop() vm.dump_log(results_path + '/vm-stop-' + str(vm_id)) + os.mknod(os.path.join(results_path, ".tester_done")) print("Done at", datetime.datetime.now()) return cases