Giter Club home page Giter Club logo

Comments (2)

22h49 avatar 22h49 commented on July 19, 2024

After adjusting the configuration to use only local workers we arrive at this error:

web_1     | 2021-04-26 21:22:09,897 DEBG 'oioioiworker' stdout output:
web_1     | 2021-04-26T21:22:09+0000 [sio.protocol.worker.WorkerFactory#info] Starting factory 
web_1     | 
web_1     | 2021-04-26 21:22:09,901 DEBG 'oioioiworker' stdout output:
web_1     | 2021-04-26T21:22:09+0000 [Uninitialized]  will retry in 7 seconds
web_1     | 
web_1     | 2021-04-26 21:22:09,904 DEBG 'oioioiworker' stdout output:
web_1     | 2021-04-26T21:22:09+0000 [sio.protocol.worker.WorkerFactory#info] Stopping factory 
web_1     | 
broker_1  | 2021-04-26 21:22:16.368 [info] <0.802.0> accepting AMQP connection <0.802.0> (192.168.32.4:53478 -> 192.168.32.3:5672)
broker_1  | 2021-04-26 21:22:16.373 [info] <0.802.0> connection <0.802.0> (192.168.32.4:53478 -> 192.168.32.3:5672): user 'oioioi' authenticated and granted access to vhost '/'
web_1     | 2021-04-26 21:22:16,385 DEBG 'evalmgr' stderr output:
web_1     | [2021-04-26 21:22:16,380: INFO/MainProcess] Received task: oioioi.evalmgr.tasks.evalmgr_job[0fe3a471-c392-4d0f-b0e0-45007283e386]
web_1     | 
web_1     | 2021-04-26 21:22:16,490 DEBG 'evalmgr' stderr output:
web_1     | [2021-04-26 21:22:16,490: WARNING/Worker-1] ('localhost', 7889)
web_1     | 
web_1     | 2021-04-26 21:22:16,525 DEBG 'evalmgr' stderr output:
web_1     | [2021-04-26 21:22:16,524: DEBUG/Worker-1] Handling exception '' in job:
web_1     | {   'compilation_result_size_limit': 10485760,
web_1     |     'compiler': u'g++4_8_2_cpp11',
web_1     |     'contest_id': u'theta-i',
web_1     |     'contest_priority': 10,
web_1     |     'contest_weight': 1000,
web_1     |     'eval_dir': u'/eval/theta-i/237',
web_1     |     'exec_mode': u'sio2jail',
web_1     |     'extra_args': {   },
web_1     |     'extra_files': {   },
web_1     |     'group_scorer': 'oioioi.acm.utils.acm_group_scorer',
web_1     |     'is_rejudge': True,
web_1     |     'job_id': 'urn:uuid:a5a44e8a-83ea-445a-b9f4-19a18f9c7c13',
web_1     |     'language': u'cpp',
web_1     |     'oioioi_instance': 'Athena',
web_1     |     'problem_id': 4,
web_1     |     'problem_instance_id': 5,
web_1     |     'problem_short_name': u'squ',
web_1     |     'report_kinds': ['FULL'],
web_1     |     'restore_environ_func': 'oioioi.sioworkers.handlers.restore_job',
web_1     |     'return_url': 'http://127.0.0.1:7890',
web_1     |     'round_id': 1,
web_1     |     'score_aggregator': 'oioioi.acm.utils.acm_score_aggregator',
web_1     |     'source_file': u'/submissions/theta-i/237.cpp@1619470482',
web_1     |     'submission_id': 237,
web_1     |     'submission_kind': u'NORMAL',
web_1     |     'submission_owner': u'mily',
web_1     |     'test_scorer': 'oioioi.acm.utils.acm_test_scorer',
web_1     |     'untrusted_checker': True,
web_1     |     'workers_jobs': {   'compile': {   'compilation_result_size_limit': 10485760,
web_1     |                                        'compiler': u'g++4_8_2_cpp11',
web_1     |                                        'contest_id': u'theta-i',
web_1     |                                        'contest_priority': 10,
web_1     |                                        'contest_weight': 1000,
web_1     |                                        'error_handlers': [   (   'remove_queuedjob_on_error',
web_1     |                                                                  'oioioi.evalmgr.handlers.remove_queuedjob_on_error'),
web_1     |                                                              (   'delete_executable',
web_1     |                                                                  'oioioi.programs.handlers.delete_executable'),
web_1     |                                                              (   'create_error_report',
web_1     |                                                                  'oioioi.contests.handlers.create_error_report'),
web_1     |                                                              (   'mail_admins_on_error',
web_1     |                                                                  'oioioi.contests.handlers.mail_admins_on_error'),
web_1     |                                                              (   'update_report_statuses',
web_1     |                                                                  'oioioi.contests.handlers.update_report_statuses'),
web_1     |                                                              (   'update_submission_score',
web_1     |                                                                  'oioioi.contests.handlers.update_submission_score'),
web_1     |                                                              (   'update_user_results',
web_1     |                                                                  'oioioi.contests.handlers.update_user_results'),
web_1     |                                                              (   'call_submission_judged',
web_1     |                                                                  'oioioi.contests.handlers.call_submission_judged'),
web_1     |                                                              (   'dump_final_env',
web_1     |                                                                  'oioioi.evalmgr.handlers.dump_env',
web_1     |                                                                  {   'message': 'Finished evaluation'}),
web_1     |                                                              (   'error_handled',
web_1     |                                                                  'oioioi.evalmgr.handlers.error_handled')],
web_1     |                                        'exec_mode': u'sio2jail',
web_1     |                                        'extra_args': {   },
web_1     |                                        'extra_files': {   },
web_1     |                                        'filetracker_url': 'http://web:9999',
web_1     |                                        'group_scorer': 'oioioi.acm.utils.acm_group_scorer',
web_1     |                                        'is_rejudge': True,
web_1     |                                        'job_id': 'urn:uuid:a5a44e8a-83ea-445a-b9f4-19a18f9c7c13',
web_1     |                                        'job_type': 'compile',
web_1     |                                        'language': u'cpp',
web_1     |                                        'oioioi_instance': 'Athena',
web_1     |                                        'out_file': u'/eval/theta-i/237/urn:uuid:a5a44e8a-83ea-445a-b9f4-19a18f9c7c13-exe',
web_1     |                                        'problem_id': 4,
web_1     |                                        'problem_instance_id': 5,
web_1     |                                        'problem_short_name': u'squ',
web_1     |                                        'recipe': [   (   'compile_end',
web_1     |                                                          'oioioi.programs.handlers.compile_end'),
web_1     |                                                      (   'after_compile',
web_1     |                                                          'oioioi.evalmgr.tasks._placeholder'),
web_1     |                                                      (   'collect_tests',
web_1     |                                                          'oioioi.programs.handlers.collect_tests'),
web_1     |                                                      (   'check_problem_instance_state',
web_1     |                                                          'oioioi.suspendjudge.handlers.check_problem_instance_state'),
web_1     |                                                      (   'before_final_tests',
web_1     |                                                          'oioioi.evalmgr.tasks._placeholder'),
web_1     |                                                      (   'full_run_tests',
web_1     |                                                          'oioioi.programs.handlers.run_tests'),
web_1     |                                                      (   'full_run_tests',
web_1     |                                                          'oioioi.programs.handlers.run_tests_end'),
web_1     |                                                      (   'full_grade_tests',
web_1     |                                                          'oioioi.programs.handlers.grade_tests'),
web_1     |                                                      (   'full_grade_groups',
web_1     |                                                          'oioioi.programs.handlers.grade_groups'),
web_1     |                                                      (   'full_grade_submission',
web_1     |                                                          'oioioi.programs.handlers.grade_submission',
web_1     |                                                          {   'kind': None}),
web_1     |                                                      (   'full_make_report',
web_1     |                                                          'oioioi.programs.handlers.make_report',
web_1     |                                                          {   'kind': 'FULL'}),
web_1     |                                                      (   'after_full_tests',
web_1     |                                                          'oioioi.evalmgr.tasks._placeholder'),
web_1     |                                                      (   'delete_executable',
web_1     |                                                          'oioioi.programs.handlers.delete_executable'),
web_1     |                                                      (   'update_report_statuses',
web_1     |                                                          'oioioi.contests.handlers.update_report_statuses'),
web_1     |                                                      (   'update_submission_score',
web_1     |                                                          'oioioi.contests.handlers.update_submission_score'),
web_1     |                                                      (   'update_user_results',
web_1     |                                                          'oioioi.contests.handlers.update_user_results'),
web_1     |                                                      (   'call_submission_judged',
web_1     |                                                          'oioioi.contests.handlers.call_submission_judged'),
web_1     |                                                      (   'dump_final_env',
web_1     |                                                          'oioioi.evalmgr.handlers.dump_env',
web_1     |                                                          {   'message': 'Finished evaluation'})],
web_1     |                                        'report_kinds': ['FULL'],
web_1     |                                        'round_id': 1,
web_1     |                                        'score_aggregator': 'oioioi.acm.utils.acm_score_aggregator',
web_1     |                                        'source_file': u'/submissions/theta-i/237.cpp@1619470482',
web_1     |                                        'submission_id': 237,
web_1     |                                        'submission_kind': u'NORMAL',
web_1     |                                        'submission_owner': u'mily',
web_1     |                                        'task_priority': 200,
web_1     |                                        'test_scorer': 'oioioi.acm.utils.acm_test_scorer',
web_1     |                                        'untrusted_checker': True}}}
web_1     | 
web_1     | 2021-04-26 21:22:16,545 DEBG 'evalmgr' stderr output:
web_1     | [2021-04-26 21:22:16,540 ERROR 88:140435936409088] Exception occured in job:
web_1     | {   'compilation_result_size_limit': 10485760,
web_1     |     'compiler': u'g++4_8_2_cpp11',
web_1     |     'contest_id': u'theta-i',
web_1     |     'contest_priority': 10,
web_1     |     'contest_weight': 1000,
web_1     |     'eval_dir': u'/eval/theta-i/237',
web_1     |     'exec_mode': u'sio2jail',
web_1     |     'extra_args': {   },
web_1     |     'extra_files': {   },
web_1     |     'group_scorer': 'oioioi.acm.utils.acm_group_scorer',
web_1     |     'is_rejudge': True,
web_1     |     'job_id': 'urn:uuid:a5a44e8a-83ea-445a-b9f4-19a18f9c7c13',
web_1     |     'language': u'cpp',
web_1     |     'oioioi_instance': 'Athena',
web_1     |     'problem_id': 4,
web_1     |     'problem_instance_id': 5,
web_1     |     'problem_short_name': u'squ',
web_1     |     'report_kinds': ['FULL'],
web_1     |     'restore_environ_func': 'oioioi.sioworkers.handlers.restore_job',
web_1     |     'return_url': 'http://127.0.0.1:7890',
web_1     |     'round_id': 1,
web_1     |     'score_aggregator': 'oioioi.acm.utils.acm_score_aggregator',
web_1     |     'source_file': u'/submissions/theta-i/237.cpp@1619470482',
web_1     |     'submission_id': 237,
web_1     |     'submission_kind': u'NORMAL',
web_1     |     'submission_owner': u'mily',
web_1     |     'test_scorer': 'oioioi.acm.utils.acm_test_scorer',
web_1     |     'untrusted_checker': True,
web_1     |     'workers_jobs': {   'compile': {   'compilation_result_size_limit': 10485760,
web_1     |                                        'compiler': u'g++4_8_2_cpp11',
web_1     |                                        'contest_id': u'theta-i',
web_1     |                                        'contest_priority': 10,
web_1     |                                        'contest_weight': 1000,
web_1     |                                        'error_handlers': [   (   'remove_queuedjob_on_error',
web_1     |                                                                  'oioioi.evalmgr.handlers.remove_queuedjob_on_error'),
web_1     |                                                              (   'delete_executable',
web_1     |                                                                  'oioioi.programs.handlers.delete_executable'),
web_1     |                                                              (   'create_error_report',
web_1     |                                                                  'oioioi.contests.handlers.create_error_report'),
web_1     |                                                              (   'mail_admins_on_error',
web_1     |                                                                  'oioioi.contests.handlers.mail_admins_on_error'),
web_1     |                                                              (   'update_report_statuses',
web_1     |                                                                  'oioioi.contests.handlers.update_report_statuses'),
web_1     |                                                              (   'update_submission_score',
web_1     |                                                                  'oioioi.contests.handlers.update_submission_score'),
web_1     |                                                              (   'update_user_results',
web_1     |                                                                  'oioioi.contests.handlers.update_user_results'),
web_1     |                                                              (   'call_submission_judged',
web_1     |                                                                  'oioioi.contests.handlers.call_submission_judged'),
web_1     |                                                              (   'dump_final_env',
web_1     |                                                                  'oioioi.evalmgr.handlers.dump_env',
web_1     |                                                                  {   'message': 'Finished evaluation'}),
web_1     |                                                              (   'error_handled',
web_1     |                                                                  'oioioi.evalmgr.handlers.error_handled')],
web_1     |                                        'exec_mode': u'sio2jail',
web_1     |                                        'extra_args': {   },
web_1     |                                        'extra_files': {   },
web_1     |                                        'filetracker_url': 'http://web:9999',
web_1     |                                        'group_scorer': 'oioioi.acm.utils.acm_group_scorer',
web_1     |                                        'is_rejudge': True,
web_1     |                                        'job_id': 'urn:uuid:a5a44e8a-83ea-445a-b9f4-19a18f9c7c13',
web_1     |                                        'job_type': 'compile',
web_1     |                                        'language': u'cpp',
web_1     |                                        'oioioi_instance': 'Athena',
web_1     |                                        'out_file': u'/eval/theta-i/237/urn:uuid:a5a44e8a-83ea-445a-b9f4-19a18f9c7c13-exe',
web_1     |                                        'problem_id': 4,
web_1     |                                        'problem_instance_id': 5,
web_1     |                                        'problem_short_name': u'squ',
web_1     |                                        'recipe': [   (   'compile_end',
web_1     |                                                          'oioioi.programs.handlers.compile_end'),
web_1     |                                                      (   'after_compile',
web_1     |                                                          'oioioi.evalmgr.tasks._placeholder'),
web_1     |                                                      (   'collect_tests',
web_1     |                                                          'oioioi.programs.handlers.collect_tests'),
web_1     |                                                      (   'check_problem_instance_state',
web_1     |                                                          'oioioi.suspendjudge.handlers.check_problem_instance_state'),
web_1     |                                                      (   'before_final_tests',
web_1     |                                                          'oioioi.evalmgr.tasks._placeholder'),
web_1     |                                                      (   'full_run_tests',
web_1     |                                                          'oioioi.programs.handlers.run_tests'),
web_1     |                                                      (   'full_run_tests',
web_1     |                                                          'oioioi.programs.handlers.run_tests_end'),
web_1     |                                                      (   'full_grade_tests',
web_1     |                                                          'oioioi.programs.handlers.grade_tests'),
web_1     |                                                      (   'full_grade_groups',
web_1     |                                                          'oioioi.programs.handlers.grade_groups'),
web_1     |                                                      (   'full_grade_submission',
web_1     |                                                          'oioioi.programs.handlers.grade_submission',
web_1     |                                                          {   'kind': None}),
web_1     |                                                      (   'full_make_report',
web_1     |                                                          'oioioi.programs.handlers.make_report',
web_1     |                                                          {   'kind': 'FULL'}),
web_1     |                                                      (   'after_full_tests',
web_1     |                                                          'oioioi.evalmgr.tasks._placeholder'),
web_1     |                                                      (   'delete_executable',
web_1     |                                                          'oioioi.programs.handlers.delete_executable'),
web_1     |                                                      (   'update_report_statuses',
web_1     |                                                          'oioioi.contests.handlers.update_report_statuses'),
web_1     |                                                      (   'update_submission_score',
web_1     |                                                          'oioioi.contests.handlers.update_submission_score'),
web_1     |                                                      (   'update_user_results',
web_1     |                                                          'oioioi.contests.handlers.update_user_results'),
web_1     |                                                      (   'call_submission_judged',
web_1     |                                                          'oioioi.contests.handlers.call_submission_judged'),
web_1     |                                                      (   'dump_final_env',
web_1     |                                                          'oioioi.evalmgr.handlers.dump_env',
web_1     |                                                          {   'message': 'Finished evaluation'})],
web_1     |                                        'report_kinds': ['FULL'],
web_1     |                                        'round_id': 1,
web_1     |                                        'score_aggregator': 'oioioi.acm.utils.acm_score_aggregator',
web_1     |                                        'source_file': u'/submissions/theta-i/237.cpp@1619470482',
web_1     |                                        'submission_id': 237,
web_1     |                                        'submission_kind': u'NORMAL',
web_1     |                                        'submission_owner': u'mily',
web_1     |                                        'task_priority': 200,
web_1     |                                        'test_scorer': 'oioioi.acm.utils.acm_test_scorer',
web_1     |                                        'untrusted_checker': True}}}
web_1     | Traceback (most recent call last):
web_1     |   File "/sio2/oioioi/oioioi/evalmgr/tasks.py", line 332, in evalmgr_job
web_1     |     env = _transfer_job(env, **env.pop('transfer'))
web_1     |   File "/sio2/oioioi/oioioi/evalmgr/tasks.py", line 198, in _transfer_job
web_1     |     import_string(transfer_func)(environ, **transfer_kwargs)
web_1     |   File "/sio2/oioioi/oioioi/sioworkers/handlers.py", line 24, in transfer_job
web_1     |     send_async_jobs(environ)
web_1     |   File "/sio2/oioioi/oioioi/sioworkers/jobs.py", line 29, in send_async_jobs
web_1     |     return _get_backend().send_async_jobs(dict_of_jobs, **kwargs)
web_1     |   File "/sio2/oioioi/oioioi/sioworkers/backends.py", line 87, in send_async_jobs
web_1     |     SioworkersdBackend.server.run_group(json.dumps(env))
web_1     |   File "/usr/local/lib/python2.7/xmlrpclib.py", line 1243, in __call__
web_1     |     return self.__send(self.__name, args)
web_1     |   File "/usr/local/lib/python2.7/xmlrpclib.py", line 1602, in __request
web_1     |     verbose=self.__verbose
web_1     |   File "/usr/local/lib/python2.7/xmlrpclib.py", line 1283, in request
web_1     |     return self.single_request(host, handler, request_body, verbose)
web_1     |   File "/usr/local/lib/python2.7/xmlrpclib.py", line 1311, in single_request
web_1     |     self.send_content(h, request_body)
web_1     |   File "/usr/local/lib/python2.7/xmlrpclib.py", line 1459, in send_content
web_1     |     connection.endheaders(request_body)
web_1     |   File "/usr/local/lib/python2.7/httplib.py", line 1078, in endheaders
web_1     |     self._send_output(message_body)
web_1     |   File "/usr/local/lib/python2.7/httplib.py", line 894, in _send_output
broker_1  | 2021-04-26 21:22:16.562 [info] <0.814.0> accepting AMQP connection <0.814.0> (192.168.32.4:53486 -> 192.168.32.3:5672)
web_1     |     self.send(msg)
web_1     |   File "/usr/local/lib/python2.7/httplib.py", line 856, in send
web_1     |     self.connect()
web_1     |   File "/usr/local/lib/python2.7/httplib.py", line 833, in connect
web_1     |     self.timeout, self.source_address)
web_1     |   File "/usr/local/lib/python2.7/socket.py", line 577, in create_connection
web_1     |     raise err
web_1     | error: [Errno 99] Cannot assign requested address

from oioioi.

22h49 avatar 22h49 commented on July 19, 2024

A fresh system reinstall seemed to do the trick

from oioioi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.