Skip to content

OIOIOI doesn't actually use ingen.sh #277

@meithecatte

Description

@meithecatte

Describe the bug
Importing the example package results in an error being printed by ingen.cpp that you should use ingen.sh instead

To Reproduce
Steps to reproduce the behavior:

  1. sm init abc
  2. sm export --no-statement
  3. Attempt importing the generated abc.tgz into Szkopuł

Expected behavior
Package imports without issues.

Output

Failed operation: _generate_tests
Operation description: Generates tests for the problem.
 
Error description: ProblemPackageError("Błąd generowania danych wejściowych: {'task_id': 'urn:uuid:796a4722-c562-4cf5-8e62-e5904af2ccaf', 'post_upload_handlers': ['oioioi.problems.handlers.update_problem_instance'], 'out_file': '/unpack/57049/d759a6a3-8905-4695-8a20-098d13f3dcee-abcingen.e@1737039901', 'ingen_mem_limit': 524288, 'job_type': 'ingen', 'package_id': 57049, 'source_file': '/unpack/57049/d759a6a3-8905-4695-8a20-098d13f3dcee-abcingen.cpp@1737039791', 'result': 'SUCCESS', 'compiled_file': '/unpack/57049/d759a6a3-8905-4695-8a20-098d13f3dcee-abcingen.e@1737039901', 'exe_file': '/unpack/57049/d759a6a3-8905-4695-8a20-098d13f3dcee-abcingen.e@1737039901', 'job_id': 'd759a6a3-8905-4695-8a20-098d13f3dcee', 'author': 'mei_b', 'contest_uid': ['Szkopuł', None], 'filetracker_url': 'http://filetracker-szkopul:19999', 'use_sandboxes': True, 'is_reupload': False, 'extra_files': {}, 'stdout': ['Run prog/abcingen.sh to stresstest and create proper tests.', ''], 'round_id': 22213, 'worker': 'spr-qemu', 'return_code': 1, 'backend_name': 'oioioi.sinolpack.package.SinolPackageBackend', 'contest_id': '[...]', 'visibility': 'FR', 'real_time_used': 31, 'additional_archive': '/unpack/57049/d759a6a3-8905-4695-8a20-098d13f3dcee-/tmp/tmp0g1cfuer/abc/compilation-dir-archive.zip@1737039790', 'compiler': 'g++12_2_cpp20_amd64', 'collected_files_path': '/unpack/57049/d759a6a3-8905-4695-8a20-098d13f3dcee-in', 'language': 'cpp', 'exec_info': {'mode': 'executable'}, 'extra_compilation_args': ['-Wall', '-Wno-unused-result', '-Werror'], 'task_priority': 500, 're_string': '^(abc(([0-9]+)([a-z]?[a-z0-9]*))).in$', 'compiler_output': '', 'group_id': 'GROUP_urn:uuid:fae20392-e32a-49df-a445-1315782abc0d', 'unpack_dir': '/unpack/57049', 'result_code': 'OK'}")

In particular, note:

'stdout': ['Run prog/abcingen.sh to stresstest and create proper tests.', ''], 

System (please complete the following information):

  • OS: Arch Linux i guess
  • sinol-make 1.9.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions