From a319f59562e52ec5fb3624a747ee0584eac458ed Mon Sep 17 00:00:00 2001 From: jon-lee Date: Sun, 2 Mar 2025 10:56:53 +0800 Subject: [PATCH] fix: pass test --- tests/convert/clang-tidy/task.json | 143 +---------------------------- tests/convert/cppcheck/task.json | 143 +---------------------------- tests/convert/cpplint/task.json | 143 +---------------------------- tests/convert/diff/task.json | 143 +---------------------------- tests/convert/keyword/task.json | 143 +---------------------------- 5 files changed, 5 insertions(+), 710 deletions(-) diff --git a/tests/convert/clang-tidy/task.json b/tests/convert/clang-tidy/task.json index 9f6e53b..36b5502 100644 --- a/tests/convert/clang-tidy/task.json +++ b/tests/convert/clang-tidy/task.json @@ -10,92 +10,6 @@ "sandboxToken": "", "outputPath": "/tmp/joj3_result.json", "stages": [ - { - "name": "healthcheck", - "group": "", - "executor": { - "name": "local", - "with": { - "default": { - "env": [], - "cpuLimit": 0, - "realCpuLimit": 0, - "clockLimit": 2, - "memoryLimit": 128000000, - "stackLimit": 0, - "procLimit": 50, - "cpuRateLimit": 0, - "cpuSetLimit": "", - "copyIn": {}, - "copyInCached": {}, - "copyInDir": ".", - "copyOut": [ - "stdout", - "stderr" - ], - "copyOutCached": [], - "copyOutMax": 0, - "copyOutDir": "", - "tty": false, - "strictMemoryLimit": false, - "dataSegmentLimit": false, - "addressSpaceLimit": false - }, - "cases": [ - { - "args": [ - "/usr/local/bin/repo-health-checker", - "-root=.", - "-repoSize=10", - "-checkFileSumList=-checkFileNameList=" - ], - "clockLimit": 2, - "memoryLimit": 128000000, - "procLimit": 50, - "copyOut": [ - "stdout", - "stderr" - ] - }, - { - "args": [ - "/usr/local/bin/joint-teapot", - "joj3-check-env", - "/home/tt/.config/teapot/teapot.env", - "--grading-repo-name", - "Nuvole-joj", - "--group-config", - "=100:24" - ], - "env": [ - "LOG_FILE_PATH=/home/tt/.cache/joint-teapot-debug.log" - ], - "clockLimit": 2, - "memoryLimit": 128000000, - "procLimit": 50, - "copyOut": [ - "stdout", - "stderr" - ] - } - ] - } - }, - "parsers": [ - { - "name": "healthcheck", - "with": { - "score": 1 - } - }, - { - "name": "debug", - "with": { - "score": 0 - } - } - ] - }, { "name": "[cq] Clang-tidy", "group": "cq", @@ -228,61 +142,6 @@ } ], "preStages": [], - "postStages": [ - { - "name": "teapot", - "group": "", - "executor": { - "name": "local", - "with": { - "default": { - "args": [ - "/usr/local/bin/joint-teapot", - "joj3-all-env", - "/home/tt/.config/teapot/teapot.env", - "--grading-repo-name", - "Nuvole-joj", - "--max-total-score", - "100" - ], - "env": [ - "LOG_FILE_PATH=/home/tt/.cache/joint-teapot-debug.log" - ], - "cpuLimit": 0, - "realCpuLimit": 0, - "clockLimit": 2, - "memoryLimit": 128000000, - "stackLimit": 0, - "procLimit": 50, - "cpuRateLimit": 0, - "cpuSetLimit": "", - "copyIn": {}, - "copyInCached": {}, - "copyInDir": ".", - "copyOut": [ - "stdout", - "stderr" - ], - "copyOutCached": [], - "copyOutMax": 0, - "copyOutDir": "", - "tty": false, - "strictMemoryLimit": false, - "dataSegmentLimit": false, - "addressSpaceLimit": false - }, - "cases": [] - } - }, - "parsers": [ - { - "name": "log", - "with": { - "msg": "joj3 summary" - } - } - ] - } - ] + "postStages": [] } } diff --git a/tests/convert/cppcheck/task.json b/tests/convert/cppcheck/task.json index 1bc8e8e..19b5b47 100644 --- a/tests/convert/cppcheck/task.json +++ b/tests/convert/cppcheck/task.json @@ -10,92 +10,6 @@ "sandboxToken": "", "outputPath": "/tmp/joj3_result.json", "stages": [ - { - "name": "healthcheck", - "group": "", - "executor": { - "name": "local", - "with": { - "default": { - "env": [], - "cpuLimit": 0, - "realCpuLimit": 0, - "clockLimit": 2, - "memoryLimit": 128000000, - "stackLimit": 0, - "procLimit": 50, - "cpuRateLimit": 0, - "cpuSetLimit": "", - "copyIn": {}, - "copyInCached": {}, - "copyInDir": ".", - "copyOut": [ - "stdout", - "stderr" - ], - "copyOutCached": [], - "copyOutMax": 0, - "copyOutDir": "", - "tty": false, - "strictMemoryLimit": false, - "dataSegmentLimit": false, - "addressSpaceLimit": false - }, - "cases": [ - { - "args": [ - "/usr/local/bin/repo-health-checker", - "-root=.", - "-repoSize=10", - "-checkFileSumList=-checkFileNameList=" - ], - "clockLimit": 2, - "memoryLimit": 128000000, - "procLimit": 50, - "copyOut": [ - "stdout", - "stderr" - ] - }, - { - "args": [ - "/usr/local/bin/joint-teapot", - "joj3-check-env", - "/home/tt/.config/teapot/teapot.env", - "--grading-repo-name", - "Nuvole-joj", - "--group-config", - "=100:24" - ], - "env": [ - "LOG_FILE_PATH=/home/tt/.cache/joint-teapot-debug.log" - ], - "clockLimit": 2, - "memoryLimit": 128000000, - "procLimit": 50, - "copyOut": [ - "stdout", - "stderr" - ] - } - ] - } - }, - "parsers": [ - { - "name": "healthcheck", - "with": { - "score": 1 - } - }, - { - "name": "debug", - "with": { - "score": 0 - } - } - ] - }, { "name": "[cq] Cppcheck", "group": "cq", @@ -198,61 +112,6 @@ } ], "preStages": [], - "postStages": [ - { - "name": "teapot", - "group": "", - "executor": { - "name": "local", - "with": { - "default": { - "args": [ - "/usr/local/bin/joint-teapot", - "joj3-all-env", - "/home/tt/.config/teapot/teapot.env", - "--grading-repo-name", - "Nuvole-joj", - "--max-total-score", - "100" - ], - "env": [ - "LOG_FILE_PATH=/home/tt/.cache/joint-teapot-debug.log" - ], - "cpuLimit": 0, - "realCpuLimit": 0, - "clockLimit": 2, - "memoryLimit": 128000000, - "stackLimit": 0, - "procLimit": 50, - "cpuRateLimit": 0, - "cpuSetLimit": "", - "copyIn": {}, - "copyInCached": {}, - "copyInDir": ".", - "copyOut": [ - "stdout", - "stderr" - ], - "copyOutCached": [], - "copyOutMax": 0, - "copyOutDir": "", - "tty": false, - "strictMemoryLimit": false, - "dataSegmentLimit": false, - "addressSpaceLimit": false - }, - "cases": [] - } - }, - "parsers": [ - { - "name": "log", - "with": { - "msg": "joj3 summary" - } - } - ] - } - ] + "postStages": [] } } diff --git a/tests/convert/cpplint/task.json b/tests/convert/cpplint/task.json index 9910545..ade0df8 100644 --- a/tests/convert/cpplint/task.json +++ b/tests/convert/cpplint/task.json @@ -10,92 +10,6 @@ "sandboxToken": "", "outputPath": "/tmp/joj3_result.json", "stages": [ - { - "name": "healthcheck", - "group": "", - "executor": { - "name": "local", - "with": { - "default": { - "env": [], - "cpuLimit": 0, - "realCpuLimit": 0, - "clockLimit": 2, - "memoryLimit": 128000000, - "stackLimit": 0, - "procLimit": 50, - "cpuRateLimit": 0, - "cpuSetLimit": "", - "copyIn": {}, - "copyInCached": {}, - "copyInDir": ".", - "copyOut": [ - "stdout", - "stderr" - ], - "copyOutCached": [], - "copyOutMax": 0, - "copyOutDir": "", - "tty": false, - "strictMemoryLimit": false, - "dataSegmentLimit": false, - "addressSpaceLimit": false - }, - "cases": [ - { - "args": [ - "/usr/local/bin/repo-health-checker", - "-root=.", - "-repoSize=10", - "-checkFileSumList=-checkFileNameList=" - ], - "clockLimit": 2, - "memoryLimit": 128000000, - "procLimit": 50, - "copyOut": [ - "stdout", - "stderr" - ] - }, - { - "args": [ - "/usr/local/bin/joint-teapot", - "joj3-check-env", - "/home/tt/.config/teapot/teapot.env", - "--grading-repo-name", - "Nuvole-joj", - "--group-config", - "=100:24" - ], - "env": [ - "LOG_FILE_PATH=/home/tt/.cache/joint-teapot-debug.log" - ], - "clockLimit": 2, - "memoryLimit": 128000000, - "procLimit": 50, - "copyOut": [ - "stdout", - "stderr" - ] - } - ] - } - }, - "parsers": [ - { - "name": "healthcheck", - "with": { - "score": 1 - } - }, - { - "name": "debug", - "with": { - "score": 0 - } - } - ] - }, { "name": "[cq] Cpplint", "group": "cq", @@ -200,61 +114,6 @@ } ], "preStages": [], - "postStages": [ - { - "name": "teapot", - "group": "", - "executor": { - "name": "local", - "with": { - "default": { - "args": [ - "/usr/local/bin/joint-teapot", - "joj3-all-env", - "/home/tt/.config/teapot/teapot.env", - "--grading-repo-name", - "Nuvole-joj", - "--max-total-score", - "100" - ], - "env": [ - "LOG_FILE_PATH=/home/tt/.cache/joint-teapot-debug.log" - ], - "cpuLimit": 0, - "realCpuLimit": 0, - "clockLimit": 2, - "memoryLimit": 128000000, - "stackLimit": 0, - "procLimit": 50, - "cpuRateLimit": 0, - "cpuSetLimit": "", - "copyIn": {}, - "copyInCached": {}, - "copyInDir": ".", - "copyOut": [ - "stdout", - "stderr" - ], - "copyOutCached": [], - "copyOutMax": 0, - "copyOutDir": "", - "tty": false, - "strictMemoryLimit": false, - "dataSegmentLimit": false, - "addressSpaceLimit": false - }, - "cases": [] - } - }, - "parsers": [ - { - "name": "log", - "with": { - "msg": "joj3 summary" - } - } - ] - } - ] + "postStages": [] } } diff --git a/tests/convert/diff/task.json b/tests/convert/diff/task.json index 3eca90a..85169ec 100644 --- a/tests/convert/diff/task.json +++ b/tests/convert/diff/task.json @@ -10,92 +10,6 @@ "sandboxToken": "", "outputPath": "/tmp/joj3_result.json", "stages": [ - { - "name": "healthcheck", - "group": "", - "executor": { - "name": "local", - "with": { - "default": { - "env": [], - "cpuLimit": 0, - "realCpuLimit": 0, - "clockLimit": 2, - "memoryLimit": 128000000, - "stackLimit": 0, - "procLimit": 50, - "cpuRateLimit": 0, - "cpuSetLimit": "", - "copyIn": {}, - "copyInCached": {}, - "copyInDir": ".", - "copyOut": [ - "stdout", - "stderr" - ], - "copyOutCached": [], - "copyOutMax": 0, - "copyOutDir": "", - "tty": false, - "strictMemoryLimit": false, - "dataSegmentLimit": false, - "addressSpaceLimit": false - }, - "cases": [ - { - "args": [ - "/usr/local/bin/repo-health-checker", - "-root=.", - "-repoSize=10", - "-checkFileSumList=-checkFileNameList=" - ], - "clockLimit": 2, - "memoryLimit": 128000000, - "procLimit": 50, - "copyOut": [ - "stdout", - "stderr" - ] - }, - { - "args": [ - "/usr/local/bin/joint-teapot", - "joj3-check-env", - "/home/tt/.config/teapot/teapot.env", - "--grading-repo-name", - "Nuvole-joj", - "--group-config", - "=100:24" - ], - "env": [ - "LOG_FILE_PATH=/home/tt/.cache/joint-teapot-debug.log" - ], - "clockLimit": 2, - "memoryLimit": 128000000, - "procLimit": 50, - "copyOut": [ - "stdout", - "stderr" - ] - } - ] - } - }, - "parsers": [ - { - "name": "healthcheck", - "with": { - "score": 1 - } - }, - { - "name": "debug", - "with": { - "score": 0 - } - } - ] - }, { "name": "[joj] ex2-asan", "group": "joj", @@ -225,61 +139,6 @@ } ], "preStages": [], - "postStages": [ - { - "name": "teapot", - "group": "", - "executor": { - "name": "local", - "with": { - "default": { - "args": [ - "/usr/local/bin/joint-teapot", - "joj3-all-env", - "/home/tt/.config/teapot/teapot.env", - "--grading-repo-name", - "Nuvole-joj", - "--max-total-score", - "100" - ], - "env": [ - "LOG_FILE_PATH=/home/tt/.cache/joint-teapot-debug.log" - ], - "cpuLimit": 0, - "realCpuLimit": 0, - "clockLimit": 2, - "memoryLimit": 128000000, - "stackLimit": 0, - "procLimit": 50, - "cpuRateLimit": 0, - "cpuSetLimit": "", - "copyIn": {}, - "copyInCached": {}, - "copyInDir": ".", - "copyOut": [ - "stdout", - "stderr" - ], - "copyOutCached": [], - "copyOutMax": 0, - "copyOutDir": "", - "tty": false, - "strictMemoryLimit": false, - "dataSegmentLimit": false, - "addressSpaceLimit": false - }, - "cases": [] - } - }, - "parsers": [ - { - "name": "log", - "with": { - "msg": "joj3 summary" - } - } - ] - } - ] + "postStages": [] } } diff --git a/tests/convert/keyword/task.json b/tests/convert/keyword/task.json index 754d539..3bbdf8a 100644 --- a/tests/convert/keyword/task.json +++ b/tests/convert/keyword/task.json @@ -10,92 +10,6 @@ "sandboxToken": "", "outputPath": "/tmp/joj3_result.json", "stages": [ - { - "name": "healthcheck", - "group": "", - "executor": { - "name": "local", - "with": { - "default": { - "env": [], - "cpuLimit": 0, - "realCpuLimit": 0, - "clockLimit": 2, - "memoryLimit": 128000000, - "stackLimit": 0, - "procLimit": 50, - "cpuRateLimit": 0, - "cpuSetLimit": "", - "copyIn": {}, - "copyInCached": {}, - "copyInDir": ".", - "copyOut": [ - "stdout", - "stderr" - ], - "copyOutCached": [], - "copyOutMax": 0, - "copyOutDir": "", - "tty": false, - "strictMemoryLimit": false, - "dataSegmentLimit": false, - "addressSpaceLimit": false - }, - "cases": [ - { - "args": [ - "/usr/local/bin/repo-health-checker", - "-root=.", - "-repoSize=10", - "-checkFileSumList=-checkFileNameList=" - ], - "clockLimit": 2, - "memoryLimit": 128000000, - "procLimit": 50, - "copyOut": [ - "stdout", - "stderr" - ] - }, - { - "args": [ - "/usr/local/bin/joint-teapot", - "joj3-check-env", - "/home/tt/.config/teapot/teapot.env", - "--grading-repo-name", - "Nuvole-joj", - "--group-config", - "=100:24" - ], - "env": [ - "LOG_FILE_PATH=/home/tt/.cache/joint-teapot-debug.log" - ], - "clockLimit": 2, - "memoryLimit": 128000000, - "procLimit": 50, - "copyOut": [ - "stdout", - "stderr" - ] - } - ] - } - }, - "parsers": [ - { - "name": "healthcheck", - "with": { - "score": 1 - } - }, - { - "name": "debug", - "with": { - "score": 0 - } - } - ] - }, { "name": "[cq] Filelength", "group": "cq", @@ -197,61 +111,6 @@ } ], "preStages": [], - "postStages": [ - { - "name": "teapot", - "group": "", - "executor": { - "name": "local", - "with": { - "default": { - "args": [ - "/usr/local/bin/joint-teapot", - "joj3-all-env", - "/home/tt/.config/teapot/teapot.env", - "--grading-repo-name", - "Nuvole-joj", - "--max-total-score", - "100" - ], - "env": [ - "LOG_FILE_PATH=/home/tt/.cache/joint-teapot-debug.log" - ], - "cpuLimit": 0, - "realCpuLimit": 0, - "clockLimit": 2, - "memoryLimit": 128000000, - "stackLimit": 0, - "procLimit": 50, - "cpuRateLimit": 0, - "cpuSetLimit": "", - "copyIn": {}, - "copyInCached": {}, - "copyInDir": ".", - "copyOut": [ - "stdout", - "stderr" - ], - "copyOutCached": [], - "copyOutMax": 0, - "copyOutDir": "", - "tty": false, - "strictMemoryLimit": false, - "dataSegmentLimit": false, - "addressSpaceLimit": false - }, - "cases": [] - } - }, - "parsers": [ - { - "name": "log", - "with": { - "msg": "joj3 summary" - } - } - ] - } - ] + "postStages": [] } }