Dear Sirs,
When a contestant submit his work to server for judgement and the problem have a checker need to execute to compare the result, I got following message, I don't know how to solve this problem and how to prevent it happen again.
[Jun 18 20:34:26.475] judgedaemon[12171]: API request GET config [Jun 18 20:34:26.564] judgedaemon[12171]: API request GET config [Jun 18 20:34:26.654] judgedaemon[12171]: Working directory: /opt/domjudge/judgehost/judgings/UPM02/endpoint-default/c5-s207-j239 [Jun 18 20:34:26.658] judgedaemon[12171]: API request GET submission_files [Jun 18 20:34:26.754] compile.sh[45693]: starting '/opt/domjudge/judgehost/lib/judge/compile.sh', PID = 45693 [Jun 18 20:34:26.757] compile.sh[45693]: arguments: '/opt/domjudge/judgehost/judgings/UPM02/endpoint-default/executable/cpp/run' '/opt/domjudge/judgehost/judgings/UPM02/endpoint-default/c5-s207-j239' [Jun 18 20:34:26.760] compile.sh[45693]: source file(s): D.cpp [Jun 18 20:34:26.766] compile.sh[45693]: starting compile [Jun 18 20:34:27.980] compile.sh[45693]: checking compilation exit-status [Jun 18 20:34:27.986] compile.sh[45693]: Compilation successful [Jun 18 20:34:27.989] compile.sh[45693]: exiting, code = '0' [Jun 18 20:34:27.992] judgedaemon[12171]: API request PUT judgings/239 [Jun 18 20:34:28.084] judgedaemon[12171]: executing chroot script: 'chroot-startstop.sh start' [Jun 18 20:34:28.222] judgedaemon[12171]: API request GET config [Jun 18 20:34:28.315] judgedaemon[12171]: API request GET testcases [Jun 18 20:34:28.409] judgedaemon[12171]: Running testcase 1... [Jun 18 20:34:28.417] judgedaemon[12171]: Fetching new executable 'checker_disarray' [Jun 18 20:34:28.424] judgedaemon[12171]: API request GET executable [Jun 18 20:34:28.519] judgedaemon[12171]: Unzipping [Jun 18 20:34:28.523] judgedaemon[12171]: fetching executable failed for compare script 'checker_disarray':Invalid executable, file 'build' exists but is not executable.
Please give me some guides.
Regards,
On Tue, June 19, 2018 03:35, Bình Dương, Tran wrote:
Dear Sirs,
When a contestant submit his work to server for judgement and the problem have a checker need to execute to compare the result, I got following message, I don't know how to solve this problem and how to prevent it happen again.
[Jun 18 20:34:28.523] judgedaemon[12171]: fetching executable failed for compare script 'checker_disarray':Invalid executable, file 'build' exists but is not executable.
Is this the case?
What does your executable zip file look like?
Thijs
Dear Sirs,
Is this the case? What does your executable zip file look like?
I uploaded some problems from ICPC source, some of them has included with a checker. I uploaded a checker executable file for a problem (I attached it below).
When a contestant has done his work and submit to the problem, a judgehost download it and checker executable to execute the evaluation. At that time this error occured. I think that the problem is the lacking of permission for executing for 'build' and 'run' file. But I don't know how to fix it
Regards,
2018-06-19 16:24 GMT+07:00 Thijs Kinkhorst <thijs@kinkhorst.commailto:thijs@kinkhorst.com>: On Tue, June 19, 2018 03:35, Bình Dương, Tran wrote:
Dear Sirs,
When a contestant submit his work to server for judgement and the problem have a checker need to execute to compare the result, I got following message, I don't know how to solve this problem and how to prevent it happen again.
[Jun 18 20:34:28.523] judgedaemon[12171]: fetching executable failed for compare script 'checker_disarray':Invalid executable, file 'build' exists but is not executable.
Is this the case?
What does your executable zip file look like?
Thijs _______________________________________________ DOMjudge-devel mailing list DOMjudge-devel@domjudge.orgmailto:DOMjudge-devel@domjudge.org https://www.domjudge.org/mailman/listinfo/domjudge-devel
--
[Điện thoại: (04) 37687717 – Máy lẻ: 100]http://Email:%20linhpt@fpt.edu.vn/
Thanks & Best regards
------------------------------------
TRẦN BÌNH DƯƠNG
Giảng viên bộ môn Công Nghệ Phần mềm
Trường Đại học FPT
Tel: (04) 37687717 – Máy lẻ: 104
Mobile: 0936 168 165
Email: duongtb@fe.edu.vnmailto:duongtb@fe.edu.vn
_______________________________________________________________________
The information in this e-mail and any attached files are CONFIDENTIAL and may be legally privileged or prohibited from disclosure and unauthorized use. The views of the author may not necessarily reflect those of the Company. It is intended solely for the addressee or the employee or agent responsible for delivering such materials to the addressee. If you have received this message in error please return it to the sender then delete the email and destroy any copies of it. If you are not the intended recipient, any form of reproduction, dissemination, copying, disclosure, modification, distribution and/or publication or any action taken or omitted to be taken in reliance upon this message or its attachments is prohibited and may be unlawful. At present the integrity of e-mail across the Internet cannot be guaranteed and messages sent via this medium are potentially at risk. All liability is excluded to the extent permitted by law for any claims arising as a result of the use of this medium to transmit information by or to FPT University.
[https://mail.fpt.com.vn/sign.png]
This email and any attachment is intended for use only by specified addressees and may contain legally privileged and/or confidential information. If you are not an intended recipient, please delete the original and any copy of this message, notify the writer by email or telephone at (84-24) 7300 7300 and accept our apologies for any inconvenience.
* Please consider the environment before you print this email.
On 20/06/18 11:49, Bình Dương, Tran wrote:
Dear Sirs,
Is this the case? What does your executable zip file look like?
I uploaded some problems from ICPC source, some of them has included with a checker. I uploaded a checker executable file for a problem (I attached it below).
When a contestant has done his work and submit to the problem, a judgehost download it and checker executable to execute the evaluation. At that time this error occured. I think that the problem is the lacking of permission for executing for 'build' and 'run' file. But I don't know how to fix it
Indeed. You should unzip the files, add the executable permission with
chmod a+x build run
and then zip those files again, and upload the zip on the executable page. That will replace the files.
Jaap
2018-06-19 16:24 GMT+07:00 Thijs Kinkhorst <thijs@kinkhorst.com mailto:thijs@kinkhorst.com>:
On Tue, June 19, 2018 03:35, Bình Dương, Tran wrote: > Dear Sirs, > > When a contestant submit his work to server for judgement and the problem > have a checker need to execute to compare the result, I got following > message, I don't know how to solve this problem and how to prevent it > happen again. > [Jun 18 20:34:28.523] judgedaemon[12171]: fetching executable failed > for compare script 'checker_disarray':Invalid executable, file 'build' > exists but is not executable. Is this the case? What does your executable zip file look like? Thijs _______________________________________________ DOMjudge-devel mailing list DOMjudge-devel@domjudge.org <mailto:DOMjudge-devel@domjudge.org> https://www.domjudge.org/mailman/listinfo/domjudge-devel <https://www.domjudge.org/mailman/listinfo/domjudge-devel>
--
Điện thoại: (04) 37687717 – Máy lẻ: 100 http://Email:%20linhpt@fpt.edu.vn/
Thanks & Best regards
**TRẦN BÌNH DƯƠNG* *
Giảng viên bộ môn Công Nghệ Phần mềm
Trường Đại học FPT
Tel: (04) 37687717 – Máy lẻ: 104
Mobile: 0936 168 165
Email: duongtb@fe.edu.vn mailto:duongtb@fe.edu.vn
The information in this e-mail and any attached files are CONFIDENTIAL and may be legally privileged or prohibited from disclosure and unauthorized use. The views of the author may not necessarily reflect those of the Company. It is intended solely for the addressee or the employee or agent responsible for delivering such materials to the addressee. If you have received this message in error please return it to the sender then delete the email and destroy any copies of it. If you are not the intended recipient, any form of reproduction, dissemination, copying, disclosure, modification, distribution and/or publication or any action taken or omitted to be taken in reliance upon this message or its attachments is prohibited and may be unlawful. At present the integrity of e-mail across the Internet cannot be guaranteed and messages sent via this medium are potentially at risk. All liability is excluded to the extent permitted by law for any claims arising as a result of the use of this medium to transmit information by or to FPT University.
This email and any attachment is intended for use only by specified addressees and may contain legally privileged and/or confidential information. If you are not an intended recipient, please delete the original and any copy of this message, notify the writer by email or telephone at (84-24) 7300 7300 and accept our apologies for any inconvenience.
- Please consider the environment before you print this email.
DOMjudge-devel mailing list DOMjudge-devel@domjudge.org https://www.domjudge.org/mailman/listinfo/domjudge-devel
Dear Sirs,
Thanks for your support, I could do it successfully.
Regards,
2018-06-24 14:34 GMT+07:00 Jaap Eldering jaap@jaapeldering.nl:
On 20/06/18 11:49, Bình Dương, Tran wrote:
Dear Sirs,
Is this the case? What does your executable zip file look like?
I uploaded some problems from ICPC source, some of them has included
with a checker.
I uploaded a checker executable file for a problem (I attached it
below).
When a contestant has done his work and submit to the problem, a
judgehost download it and checker executable to execute the evaluation. At that time this error occured.
I think that the problem is the lacking of permission for executing for
'build' and 'run' file.
But I don't know how to fix it
Indeed. You should unzip the files, add the executable permission with
chmod a+x build run
and then zip those files again, and upload the zip on the executable page. That will replace the files.
Jaap
2018-06-19 16:24 GMT+07:00 Thijs Kinkhorst <thijs@kinkhorst.com <mailto:
thijs@kinkhorst.com>>:
On Tue, June 19, 2018 03:35, Bình Dương, Tran wrote: > Dear Sirs, > > When a contestant submit his work to server for judgement and the
problem
> have a checker need to execute to compare the result, I got
following
> message, I don't know how to solve this problem and how to prevent
it
> happen again. > [Jun 18 20:34:28.523] judgedaemon[12171]: fetching executable
failed
> for compare script 'checker_disarray':Invalid executable, file
'build'
> exists but is not executable. Is this the case? What does your executable zip file look like? Thijs _______________________________________________ DOMjudge-devel mailing list DOMjudge-devel@domjudge.org <mailto:DOMjudge-devel@domjudge.org> https://www.domjudge.org/mailman/listinfo/domjudge-devel <
https://www.domjudge.org/mailman/listinfo/domjudge-devel%3E
--
Điện thoại: (04) 37687717 – Máy lẻ: 100 <http://Email:%20linhpt@fpt.
edu.vn/>
Thanks & Best regards
**TRẦN BÌNH DƯƠNG* *
Giảng viên bộ môn Công Nghệ Phần mềm
Trường Đại học FPT
Tel: (04) 37687717 – Máy lẻ: 104
Mobile: 0936 168 165
Email: duongtb@fe.edu.vn mailto:duongtb@fe.edu.vn
The information in this e-mail and any attached files are CONFIDENTIAL
and may be legally privileged or prohibited from disclosure and unauthorized use. The views of the author may not necessarily reflect those of the Company.
It is intended solely for the addressee or the employee or agent
responsible for delivering such materials to the addressee. If you have received this message in error please return it to the sender then delete the email and destroy any copies of it. If you are not the intended recipient, any form of reproduction, dissemination, copying, disclosure, modification, distribution and/or publication or any action taken or omitted to be taken in reliance upon this message or its attachments is prohibited and may be unlawful.
At present the integrity of e-mail across the Internet cannot be
guaranteed and messages sent via this medium are potentially at risk. All liability is excluded to the extent permitted by law for any claims arising as a result of the use of this medium to transmit information by or to FPT University.
This email and any attachment is intended for use only by specified
addressees and may contain legally privileged and/or confidential information. If you are not an intended recipient, please delete the original and any copy of this message, notify the writer by email or telephone at (84-24) 7300 7300 and accept our apologies for any inconvenience.
- Please consider the environment before you print this email.
DOMjudge-devel mailing list DOMjudge-devel@domjudge.org https://www.domjudge.org/mailman/listinfo/domjudge-devel
DOMjudge-devel mailing list DOMjudge-devel@domjudge.org https://www.domjudge.org/mailman/listinfo/domjudge-devel