Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

完全按照测试用例格式描述进行提交testcase.zip进行判题时仍旧提示:CE:test case not found #224

Closed
nicitian opened this issue Feb 19, 2019 · 13 comments

Comments

@nicitian
Copy link

在提交issue之前请

  • 认真阅读文档 http://docs.onlinejudge.me/#/
  • 搜索和查看历史issues
  • 安全类问题请不要在 GitHub 上公布,请发送邮件到 admin@qduoj.com,根据漏洞危害程度发送红包感谢。

然后提交issue请写清楚下列事项

 - 进行什么操作的时候遇到了什么问题,最好能有复现步骤
 - 错误提示是什么,如果看不到错误提示,请去data文件夹查看相应log文件。大段的错误提示请包在代码块标记里面。

  • 你尝试修复问题的操作
  • 页面问题请写清浏览器版本,尽量有截图
@nicitian
Copy link
Author

创建题目时没有提示任何错误,代码提交后还是提示:test case not found!

@virusdefender
Copy link
Contributor

是从来没成功过还是后来突然不行了?你的 JudgeServer 是和 web server 一台机器还是分离的?

@nicitian
Copy link
Author

是从来没成功过还是后来突然不行了?你的 JudgeServer 是和 web server 一台机器还是分离的?
一直都不行,
celery.log:worker: Warm shutdown (MainProcess)

@nicitian
Copy link
Author

是从来没成功过还是后来突然不行了?你的 JudgeServer 是和 web server 一台机器还是分离的?
一直都不行,
celery.log:worker: Warm shutdown (MainProcess)
在使用docker 运行的时候不会自动启动judgeServer吗?

@virusdefender
Copy link
Contributor

重新编辑题目再传一下试试

@nicitian
Copy link
Author

重新编辑题目再传一下试试
额,我多次重新编辑和新建题目,貌似都不行。。。。而且编辑题目的时候都没有提示有任何问题。

@nicitian
Copy link
Author

nicitian commented Feb 19, 2019

重新编辑题目再传一下试试
额,我多次重新编辑和新建题目,貌似都不行。。。。而且编辑题目的时候都没有提示有任何问题。

Traceback (most recent call last):
...
exception.JudgeServiceError
2019-02-18 11:22:30,288 ERROR HTTPConnectionPool(host='oj-backend', port=8000): Max retries exceeded with url: /api/judge_server_heartbeat/ (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f1f530f9320>: Failed to establish a new connection: [Errno -2] Name or service not known',))
...
socket.gaierror: [Errno -2] Name or service not known
这个是judge_server.log

@nicitian
Copy link
Author

image
image
image

@jjrccop
Copy link

jjrccop commented Feb 19, 2019

是测试用例丢了,没上传上去,我之前也出现了这个问题

@virusdefender
Copy link
Contributor

OnlineJudgeDeploy/data/backend/test_case 下面有测试用例,可以看下文件是否还在

@jjrccop
Copy link

jjrccop commented Feb 20, 2019 via email

@nicitian
Copy link
Author

OnlineJudgeDeploy/data/backend/test_case 下面有测试用例,可以看下文件是否还在
test_case 下面有文件夹,每个目录下也有in,out文件

@virusdefender
Copy link
Contributor

测试用例偶尔丢失貌似是一个神奇的 bug,暂时不清楚原因,有任何进展会继续回复,先 close 了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants