yosupo06 / library-checker-judge

https://judge.yosupo.jp/
Apache License 2.0
41 stars 22 forks source link

ジャッジが時々謎のWAを出す #343

Closed yosupo06 closed 8 months ago

yosupo06 commented 1 year ago

https://discord.com/channels/1087310259447681114/1087339176824950836/1145680954963275806 ここら辺の話

yosupo06 commented 1 year ago

https://judge.yosupo.jp/submission/156010

たとえばこれを見ると

wrong answer 521668th words differ - expected: '751646651', found: '751'

となっているように、ファイルが途中で打ち切られている雰囲気がある 実際にdockerのログを確認するとこういうWAの発生時に次のようなエラーが確認できる

$ journalctl -u docker.service
:
Sep 02 04:11:59 prod-judge-instance-group-g0g5 dockerd[1317]: time="2023-09-02T04:11:59.970511730Z" level=error msg="stream copy error: read /proc/self/fd/30: file already closed"
:

docker cpで出力ファイルをコピーしている部分でサイレントに死んでいる?

yosupo06 commented 1 year ago

https://github.com/yosupo06/library-checker-judge/blob/master/judge/execute.go#L563

yosupo06 commented 1 year ago

とりあえず

で様子を見る

yosupo06 commented 8 months ago

https://github.com/yosupo06/library-checker-judge/issues/346 これと同じ現象の可能性?