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

Progress Report - Iteration 4 #43

Open
5 tasks done
wdyd2004 opened this issue Jun 10, 2018 · 0 comments
Open
5 tasks done

Progress Report - Iteration 4 #43

wdyd2004 opened this issue Jun 10, 2018 · 0 comments
Assignees
Labels
help wanted Extra attention is needed progress-report
Milestone

Comments

@wdyd2004
Copy link
Contributor

wdyd2004 commented Jun 10, 2018

API Server

이번 iteration에 한 일

  • JudgeSpec API #33
    • judgeSpec 조회 API 작성 - 이승용
  • JudgeResult API #34
    • JudgeResult GET API - 이승용
    • Testcase 별 결과 갱신 API - 이승용
    • TestSet 별 결과 갱신 API - 이승용
    • Test의 총 결과 갱신 API - 이승용
  • Views Test Result #39
    • viewtests test_problem_list 테스트 통과 - 권일재
  • Bugfix #42
    • Submission과 JudgeResult 간의 관계 1:N으로 변경 - 이승용
    • Gym 내 해결한 문제 정보 API - 이승용

전체 소스코드에 대한 test 결과

  • unit test & integration test (./manage.py test api.tests --verbosity 2)
  • coverage test (coverage run manage.py test && coverage report)
    • readme에 coverall badge 참고

Treadmill (Judge Worker)

이번 iteration에 한 일

  • 정상 케이스에 대한 동작 확인 - 박종빈
JudgeRequest(id=1, problem_id=1, submission_id=3, rejudge=False, created_at=None)
  JudgePipeline()
    FetchSubmissionOp(problem_id=1 subm_id=3)
134217728
    UpdateJudgeResultOp(testset_id=None testcase_id=None status=JudgeStatus.IN_PROGRESS error=None)
    WorkspaceEnviron()
      MakeDirectoryOp(afp=ROOT mode=493 exist_ok=False)
      CopyFileOp(src_path=/Users/jjong/mnt/talk4u-data/submission/1/code.java dest_path=/Users/jjong/Temp/treadmill-workspace/1/sandbox/subm/Main.java)
      CopyFileOp(src_path=/Users/jjong/mnt/talk4u-data/problem/1/judgespec/testdata/rsubseq_1_1.in dest_path=/Users/jjong/Temp/treadmill-workspace/1/sandbox/data/1/rsubseq_1_1.in)
      CopyFileOp(src_path=/Users/jjong/mnt/talk4u-data/problem/1/judgespec/testdata/rsubseq_1_1.out dest_path=/Users/jjong/Temp/treadmill-workspace/1/data/1/rsubseq_1_1.out)
      CopyFileOp(src_path=/Users/jjong/mnt/talk4u-data/problem/1/judgespec/testdata/rsubseq_1_2.in dest_path=/Users/jjong/Temp/treadmill-workspace/1/sandbox/data/1/rsubseq_1_2.in)
      CopyFileOp(src_path=/Users/jjong/mnt/talk4u-data/problem/1/judgespec/testdata/rsubseq_1_2.out dest_path=/Users/jjong/Temp/treadmill-workspace/1/data/1/rsubseq_1_2.out)
      CopyFileOp(src_path=/Users/jjong/mnt/talk4u-data/problem/1/judgespec/testdata/rsubseq_2_1.in dest_path=/Users/jjong/Temp/treadmill-workspace/1/sandbox/data/2/rsubseq_2_1.in)
      CopyFileOp(src_path=/Users/jjong/mnt/talk4u-data/problem/1/judgespec/testdata/rsubseq_2_1.out dest_path=/Users/jjong/Temp/treadmill-workspace/1/data/2/rsubseq_2_1.out)
      CopyFileOp(src_path=/Users/jjong/mnt/talk4u-data/problem/1/judgespec/testdata/rsubseq_2_2.in dest_path=/Users/jjong/Temp/treadmill-workspace/1/sandbox/data/2/rsubseq_2_2.in)
      CopyFileOp(src_path=/Users/jjong/mnt/talk4u-data/problem/1/judgespec/testdata/rsubseq_2_2.out dest_path=/Users/jjong/Temp/treadmill-workspace/1/data/2/rsubseq_2_2.out)
      CopyFileOp(src_path=/Users/jjong/mnt/talk4u-data/problem/1/judgespec/testdata/rsubseq_3_1.in dest_path=/Users/jjong/Temp/treadmill-workspace/1/sandbox/data/3/rsubseq_3_1.in)
      CopyFileOp(src_path=/Users/jjong/mnt/talk4u-data/problem/1/judgespec/testdata/rsubseq_3_1.out dest_path=/Users/jjong/Temp/treadmill-workspace/1/data/3/rsubseq_3_1.out)
      CopyFileOp(src_path=/Users/jjong/mnt/talk4u-data/problem/1/judgespec/testdata/rsubseq_3_2.in dest_path=/Users/jjong/Temp/treadmill-workspace/1/sandbox/data/3/rsubseq_3_2.in)
      CopyFileOp(src_path=/Users/jjong/mnt/talk4u-data/problem/1/judgespec/testdata/rsubseq_3_2.out dest_path=/Users/jjong/Temp/treadmill-workspace/1/data/3/rsubseq_3_2.out)
      CopyFileOp(src_path=/Users/jjong/mnt/talk4u-data/problem/1/judgespec/testdata/rsubseq_4_1.in dest_path=/Users/jjong/Temp/treadmill-workspace/1/sandbox/data/4/rsubseq_4_1.in)
      CopyFileOp(src_path=/Users/jjong/mnt/talk4u-data/problem/1/judgespec/testdata/rsubseq_4_1.out dest_path=/Users/jjong/Temp/treadmill-workspace/1/data/4/rsubseq_4_1.out)
      CopyFileOp(src_path=/Users/jjong/mnt/talk4u-data/problem/1/judgespec/testdata/rsubseq_4_2.in dest_path=/Users/jjong/Temp/treadmill-workspace/1/sandbox/data/4/rsubseq_4_2.in)
      CopyFileOp(src_path=/Users/jjong/mnt/talk4u-data/problem/1/judgespec/testdata/rsubseq_4_2.out dest_path=/Users/jjong/Temp/treadmill-workspace/1/data/4/rsubseq_4_2.out)
      CopyFileOp(src_path=/Users/jjong/mnt/talk4u-data/problem/1/judgespec/testdata/rsubseq_5_1.in dest_path=/Users/jjong/Temp/treadmill-workspace/1/sandbox/data/5/rsubseq_5_1.in)
      CopyFileOp(src_path=/Users/jjong/mnt/talk4u-data/problem/1/judgespec/testdata/rsubseq_5_1.out dest_path=/Users/jjong/Temp/treadmill-workspace/1/data/5/rsubseq_5_1.out)
      CopyFileOp(src_path=/Users/jjong/mnt/talk4u-data/problem/1/judgespec/testdata/rsubseq_5_2.in dest_path=/Users/jjong/Temp/treadmill-workspace/1/sandbox/data/5/rsubseq_5_2.in)
      CopyFileOp(src_path=/Users/jjong/mnt/talk4u-data/problem/1/judgespec/testdata/rsubseq_5_2.out dest_path=/Users/jjong/Temp/treadmill-workspace/1/data/5/rsubseq_5_2.out)
      CopyFileOp(src_path=/Users/jjong/mnt/talk4u-data/problem/1/judgespec/testdata/rsubseq_6_1.in dest_path=/Users/jjong/Temp/treadmill-workspace/1/sandbox/data/6/rsubseq_6_1.in)
      CopyFileOp(src_path=/Users/jjong/mnt/talk4u-data/problem/1/judgespec/testdata/rsubseq_6_1.out dest_path=/Users/jjong/Temp/treadmill-workspace/1/data/6/rsubseq_6_1.out)
      CopyFileOp(src_path=/Users/jjong/mnt/talk4u-data/problem/1/judgespec/testdata/rsubseq_6_2.in dest_path=/Users/jjong/Temp/treadmill-workspace/1/sandbox/data/6/rsubseq_6_2.in)
      CopyFileOp(src_path=/Users/jjong/mnt/talk4u-data/problem/1/judgespec/testdata/rsubseq_6_2.out dest_path=/Users/jjong/Temp/treadmill-workspace/1/data/6/rsubseq_6_2.out)
      CopyFileOp(src_path=/Users/jjong/mnt/talk4u-data/problem/1/judgespec/testdata/rsubseq_7_1.in dest_path=/Users/jjong/Temp/treadmill-workspace/1/sandbox/data/7/rsubseq_7_1.in)
      CopyFileOp(src_path=/Users/jjong/mnt/talk4u-data/problem/1/judgespec/testdata/rsubseq_7_1.out dest_path=/Users/jjong/Temp/treadmill-workspace/1/data/7/rsubseq_7_1.out)
      CopyFileOp(src_path=/Users/jjong/mnt/talk4u-data/problem/1/judgespec/testdata/rsubseq_7_2.in dest_path=/Users/jjong/Temp/treadmill-workspace/1/sandbox/data/7/rsubseq_7_2.in)
      CopyFileOp(src_path=/Users/jjong/mnt/talk4u-data/problem/1/judgespec/testdata/rsubseq_7_2.out dest_path=/Users/jjong/Temp/treadmill-workspace/1/data/7/rsubseq_7_2.out)
      CopyFileOp(src_path=/Users/jjong/mnt/talk4u-data/problem/1/judgespec/testdata/rsubseq_8_1.in dest_path=/Users/jjong/Temp/treadmill-workspace/1/sandbox/data/8/rsubseq_8_1.in)
      CopyFileOp(src_path=/Users/jjong/mnt/talk4u-data/problem/1/judgespec/testdata/rsubseq_8_1.out dest_path=/Users/jjong/Temp/treadmill-workspace/1/data/8/rsubseq_8_1.out)
      CopyFileOp(src_path=/Users/jjong/mnt/talk4u-data/problem/1/judgespec/testdata/rsubseq_8_2.in dest_path=/Users/jjong/Temp/treadmill-workspace/1/sandbox/data/8/rsubseq_8_2.in)
      CopyFileOp(src_path=/Users/jjong/mnt/talk4u-data/problem/1/judgespec/testdata/rsubseq_8_2.out dest_path=/Users/jjong/Temp/treadmill-workspace/1/data/8/rsubseq_8_2.out)
      CopyFileOp(src_path=/Users/jjong/mnt/talk4u-data/problem/1/judgespec/testdata/rsubseq_9_1.in dest_path=/Users/jjong/Temp/treadmill-workspace/1/sandbox/data/9/rsubseq_9_1.in)
      CopyFileOp(src_path=/Users/jjong/mnt/talk4u-data/problem/1/judgespec/testdata/rsubseq_9_1.out dest_path=/Users/jjong/Temp/treadmill-workspace/1/data/9/rsubseq_9_1.out)
      CopyFileOp(src_path=/Users/jjong/mnt/talk4u-data/problem/1/judgespec/testdata/rsubseq_9_2.in dest_path=/Users/jjong/Temp/treadmill-workspace/1/sandbox/data/9/rsubseq_9_2.in)
      CopyFileOp(src_path=/Users/jjong/mnt/talk4u-data/problem/1/judgespec/testdata/rsubseq_9_2.out dest_path=/Users/jjong/Temp/treadmill-workspace/1/data/9/rsubseq_9_2.out)
      CopyFileOp(src_path=/Users/jjong/mnt/talk4u-data/problem/1/judgespec/grader.cpp dest_path=/Users/jjong/Temp/treadmill-workspace/1/sandbox/grader/main.cpp)
      CompileStage()
        BuilderEnviron(lang=Lang.JAVA container=None)
          RunDockerContainerOp(container_tag=talk4u/treadmill-builder-jdk8:v0.1.0 mount_workspace=True privileged=False)
          CompileTask(builder=BuilderEnviron(lang=Lang.JAVA container=<Container: c25578671a>) src_file=['subm', 'Main.java'] out_file=['subm', 'Main.class'])
            ExecInDockerContainerOp(container=<Container: c25578671a> cmd=['javac', '-d', '/workspace/sandbox/subm', '/workspace/sandbox/subm/Main.java'] kwargs={})
        KillDockerContainerOp(container=<Container: c25578671a>)
        BuilderEnviron(lang=Lang.CPP container=None)
          RunDockerContainerOp(container_tag=talk4u/treadmill-builder-gcc:v0.1.0 mount_workspace=True privileged=False)
          CompileTask(builder=BuilderEnviron(lang=Lang.CPP container=<Container: a9137c9714>) src_file=['grader', 'main.cpp'] out_file=['grader', 'main'])
            ExecInDockerContainerOp(container=<Container: a9137c9714> cmd=['g++', '-o', '/workspace/sandbox/grader/main', '/workspace/sandbox/grader/main.cpp'] kwargs={})
        KillDockerContainerOp(container=<Container: a9137c9714>)
      JudgeStage()
        SandboxEnviron(lang=Lang.JAVA container=None isolated=True)
          RunDockerContainerOp(container_tag=talk4u/treadmill-sandbox-jre8:v0.1.0 mount_workspace=True privileged=True)
          ExecInDockerContainerOp(container=<Container: 7dc5685889> cmd=['isolate', '--init'] kwargs={})
          SandboxEnviron(lang=Lang.CPP container=None isolated=False)
            RunDockerContainerOp(container_tag=talk4u/treadmill-sandbox-native:v0.1.0 mount_workspace=True privileged=False)
            JudgeTask(subm_sandbox=SandboxEnviron(lang=Lang.JAVA container=<Container: 7dc5685889> isolated=True) grader_sandbox=SandboxEnviron(lang=Lang.CPP container=<Container: 208cf233b6> isolated=False))
              ExecuteTask(sandbox=SandboxEnviron(lang=Lang.JAVA container=<Container: 7dc5685889> isolated=True) bin_file=['subm', 'Main.class'] stdin_file=['data', '1', 'rsubseq_1_1.in'])
                CheckFileExistsOp(afp=['data', '1', 'rsubseq_1_1.in'])
                CheckFileExistsOp(afp=['subm', 'Main.class'])
                CreateFileOp(afp=['logs', '2be20970-5e6b-4853-b54f-bdbff11a7c33.stdout'] mode=438)
                CreateFileOp(afp=['logs', '2be20970-5e6b-4853-b54f-bdbff11a7c33.stderr'] mode=438)
                CreateFileOp(afp=['logs', '2be20970-5e6b-4853-b54f-bdbff11a7c33.meta'] mode=438)
                ExecInDockerContainerOp(container=<Container: 7dc5685889> cmd=['isolate', '--dir=/sandbox=/workspace/sandbox:rw', '--meta=/workspace/sandbox/logs/2be20970-5e6b-4853-b54f-bdbff11a7c33.meta', '--mem=131072', '--time=1.0', '--wall-time=3.0', '--extra-time=1.0', '--fsize=0', '--processes=1', '--stdin=/sandbox/data/1/rsubseq_1_1.in', '--stdout=/sandbox/logs/2be20970-5e6b-4853-b54f-bdbff11a7c33.stdout', '--stderr=/sandbox/logs/2be20970-5e6b-4853-b54f-bdbff11a7c33.stderr', '--run', '--', '/usr/bin/java', '-Xmx128m', '-Xms16m', '/sandbox/subm/Main'] kwargs={'privileged': True})
                ReadFileOp(afp=['logs', '2be20970-5e6b-4853-b54f-bdbff11a7c33.meta'])
              ReadFileOp(afp=['logs', '2be20970-5e6b-4853-b54f-bdbff11a7c33.stderr'])
              ReadFileOp(afp=['logs', '2be20970-5e6b-4853-b54f-bdbff11a7c33.stdout'])
              UpdateJudgeResultOp(testset_id=1 testcase_id=1 testcase_status=TestCaseJudgeStatus.RUNTIME_ERROR max_rss=None time=None error={'isolate_output': 'Exited with error status 1\n', 'stderr': '', 'stdout': 'Error occurred during initialization of VM\nCould not reserve enough space for code cache\n'})
              UpdateJudgeResultOp(testset_id=1 testcase_id=None score=0)
              ExecuteTask(sandbox=SandboxEnviron(lang=Lang.JAVA container=<Container: 7dc5685889> isolated=True) bin_file=['subm', 'Main.class'] stdin_file=['data', '2', 'rsubseq_2_1.in'])
                CheckFileExistsOp(afp=['data', '2', 'rsubseq_2_1.in'])
                CheckFileExistsOp(afp=['subm', 'Main.class'])
                CreateFileOp(afp=['logs', '97996932-9718-4d37-a636-ced5b422ce9c.stdout'] mode=438)
                CreateFileOp(afp=['logs', '97996932-9718-4d37-a636-ced5b422ce9c.stderr'] mode=438)
                CreateFileOp(afp=['logs', '97996932-9718-4d37-a636-ced5b422ce9c.meta'] mode=438)
                ExecInDockerContainerOp(container=<Container: 7dc5685889> cmd=['isolate', '--dir=/sandbox=/workspace/sandbox:rw', '--meta=/workspace/sandbox/logs/97996932-9718-4d37-a636-ced5b422ce9c.meta', '--mem=131072', '--time=1.0', '--wall-time=3.0', '--extra-time=1.0', '--fsize=0', '--processes=1', '--stdin=/sandbox/data/2/rsubseq_2_1.in', '--stdout=/sandbox/logs/97996932-9718-4d37-a636-ced5b422ce9c.stdout', '--stderr=/sandbox/logs/97996932-9718-4d37-a636-ced5b422ce9c.stderr', '--run', '--', '/usr/bin/java', '-Xmx128m', '-Xms16m', '/sandbox/subm/Main'] kwargs={'privileged': True})
                ReadFileOp(afp=['logs', '97996932-9718-4d37-a636-ced5b422ce9c.meta'])
              ReadFileOp(afp=['logs', '97996932-9718-4d37-a636-ced5b422ce9c.stderr'])
              ReadFileOp(afp=['logs', '97996932-9718-4d37-a636-ced5b422ce9c.stdout'])
              UpdateJudgeResultOp(testset_id=2 testcase_id=3 testcase_status=TestCaseJudgeStatus.RUNTIME_ERROR max_rss=None time=None error={'isolate_output': 'Exited with error status 1\n', 'stderr': '', 'stdout': 'Error occurred during initialization of VM\nCould not reserve enough space for code cache\n'})
              UpdateJudgeResultOp(testset_id=2 testcase_id=None score=0)
              ExecuteTask(sandbox=SandboxEnviron(lang=Lang.JAVA container=<Container: 7dc5685889> isolated=True) bin_file=['subm', 'Main.class'] stdin_file=['data', '3', 'rsubseq_3_1.in'])
                CheckFileExistsOp(afp=['data', '3', 'rsubseq_3_1.in'])
                CheckFileExistsOp(afp=['subm', 'Main.class'])
                CreateFileOp(afp=['logs', '3ccc4849-91c5-40f9-9bf2-f5ca217f3718.stdout'] mode=438)
                CreateFileOp(afp=['logs', '3ccc4849-91c5-40f9-9bf2-f5ca217f3718.stderr'] mode=438)
                CreateFileOp(afp=['logs', '3ccc4849-91c5-40f9-9bf2-f5ca217f3718.meta'] mode=438)
                ExecInDockerContainerOp(container=<Container: 7dc5685889> cmd=['isolate', '--dir=/sandbox=/workspace/sandbox:rw', '--meta=/workspace/sandbox/logs/3ccc4849-91c5-40f9-9bf2-f5ca217f3718.meta', '--mem=131072', '--time=1.0', '--wall-time=3.0', '--extra-time=1.0', '--fsize=0', '--processes=1', '--stdin=/sandbox/data/3/rsubseq_3_1.in', '--stdout=/sandbox/logs/3ccc4849-91c5-40f9-9bf2-f5ca217f3718.stdout', '--stderr=/sandbox/logs/3ccc4849-91c5-40f9-9bf2-f5ca217f3718.stderr', '--run', '--', '/usr/bin/java', '-Xmx128m', '-Xms16m', '/sandbox/subm/Main'] kwargs={'privileged': True})
                ReadFileOp(afp=['logs', '3ccc4849-91c5-40f9-9bf2-f5ca217f3718.meta'])
              ReadFileOp(afp=['logs', '3ccc4849-91c5-40f9-9bf2-f5ca217f3718.stderr'])
              ReadFileOp(afp=['logs', '3ccc4849-91c5-40f9-9bf2-f5ca217f3718.stdout'])
              UpdateJudgeResultOp(testset_id=3 testcase_id=5 testcase_status=TestCaseJudgeStatus.RUNTIME_ERROR max_rss=None time=None error={'isolate_output': 'Exited with error status 1\n', 'stderr': '', 'stdout': 'Error occurred during initialization of VM\nCould not reserve enough space for code cache\n'})
              UpdateJudgeResultOp(testset_id=3 testcase_id=None score=0)
              ExecuteTask(sandbox=SandboxEnviron(lang=Lang.JAVA container=<Container: 7dc5685889> isolated=True) bin_file=['subm', 'Main.class'] stdin_file=['data', '4', 'rsubseq_4_1.in'])
                CheckFileExistsOp(afp=['data', '4', 'rsubseq_4_1.in'])
                CheckFileExistsOp(afp=['subm', 'Main.class'])
                CreateFileOp(afp=['logs', '44c87731-49cf-455f-ab49-b9a31462d149.stdout'] mode=438)
                CreateFileOp(afp=['logs', '44c87731-49cf-455f-ab49-b9a31462d149.stderr'] mode=438)
                CreateFileOp(afp=['logs', '44c87731-49cf-455f-ab49-b9a31462d149.meta'] mode=438)
                ExecInDockerContainerOp(container=<Container: 7dc5685889> cmd=['isolate', '--dir=/sandbox=/workspace/sandbox:rw', '--meta=/workspace/sandbox/logs/44c87731-49cf-455f-ab49-b9a31462d149.meta', '--mem=131072', '--time=1.0', '--wall-time=3.0', '--extra-time=1.0', '--fsize=0', '--processes=1', '--stdin=/sandbox/data/4/rsubseq_4_1.in', '--stdout=/sandbox/logs/44c87731-49cf-455f-ab49-b9a31462d149.stdout', '--stderr=/sandbox/logs/44c87731-49cf-455f-ab49-b9a31462d149.stderr', '--run', '--', '/usr/bin/java', '-Xmx128m', '-Xms16m', '/sandbox/subm/Main'] kwargs={'privileged': True})
                ReadFileOp(afp=['logs', '44c87731-49cf-455f-ab49-b9a31462d149.meta'])
              ReadFileOp(afp=['logs', '44c87731-49cf-455f-ab49-b9a31462d149.stderr'])
              ReadFileOp(afp=['logs', '44c87731-49cf-455f-ab49-b9a31462d149.stdout'])
              UpdateJudgeResultOp(testset_id=4 testcase_id=7 testcase_status=TestCaseJudgeStatus.RUNTIME_ERROR max_rss=None time=None error={'isolate_output': 'Exited with error status 1\n', 'stderr': '', 'stdout': 'Error occurred during initialization of VM\nCould not reserve enough space for code cache\n'})
              UpdateJudgeResultOp(testset_id=4 testcase_id=None score=0)
              ExecuteTask(sandbox=SandboxEnviron(lang=Lang.JAVA container=<Container: 7dc5685889> isolated=True) bin_file=['subm', 'Main.class'] stdin_file=['data', '5', 'rsubseq_5_1.in'])
                CheckFileExistsOp(afp=['data', '5', 'rsubseq_5_1.in'])
                CheckFileExistsOp(afp=['subm', 'Main.class'])
                CreateFileOp(afp=['logs', '63b004eb-6289-420f-b6f9-577a89085594.stdout'] mode=438)
                CreateFileOp(afp=['logs', '63b004eb-6289-420f-b6f9-577a89085594.stderr'] mode=438)
                CreateFileOp(afp=['logs', '63b004eb-6289-420f-b6f9-577a89085594.meta'] mode=438)
                ExecInDockerContainerOp(container=<Container: 7dc5685889> cmd=['isolate', '--dir=/sandbox=/workspace/sandbox:rw', '--meta=/workspace/sandbox/logs/63b004eb-6289-420f-b6f9-577a89085594.meta', '--mem=131072', '--time=1.0', '--wall-time=3.0', '--extra-time=1.0', '--fsize=0', '--processes=1', '--stdin=/sandbox/data/5/rsubseq_5_1.in', '--stdout=/sandbox/logs/63b004eb-6289-420f-b6f9-577a89085594.stdout', '--stderr=/sandbox/logs/63b004eb-6289-420f-b6f9-577a89085594.stderr', '--run', '--', '/usr/bin/java', '-Xmx128m', '-Xms16m', '/sandbox/subm/Main'] kwargs={'privileged': True})
                ReadFileOp(afp=['logs', '63b004eb-6289-420f-b6f9-577a89085594.meta'])
              ReadFileOp(afp=['logs', '63b004eb-6289-420f-b6f9-577a89085594.stderr'])
              ReadFileOp(afp=['logs', '63b004eb-6289-420f-b6f9-577a89085594.stdout'])
              UpdateJudgeResultOp(testset_id=5 testcase_id=9 testcase_status=TestCaseJudgeStatus.RUNTIME_ERROR max_rss=None time=None error={'isolate_output': 'Exited with error status 1\n', 'stderr': '', 'stdout': 'Error occurred during initialization of VM\nCould not reserve enough space for code cache\n'})
              UpdateJudgeResultOp(testset_id=5 testcase_id=None score=0)
              ExecuteTask(sandbox=SandboxEnviron(lang=Lang.JAVA container=<Container: 7dc5685889> isolated=True) bin_file=['subm', 'Main.class'] stdin_file=['data', '6', 'rsubseq_6_1.in'])
                CheckFileExistsOp(afp=['data', '6', 'rsubseq_6_1.in'])
                CheckFileExistsOp(afp=['subm', 'Main.class'])
                CreateFileOp(afp=['logs', '059eaef7-1b54-4f35-a225-54a5d93ea042.stdout'] mode=438)
                CreateFileOp(afp=['logs', '059eaef7-1b54-4f35-a225-54a5d93ea042.stderr'] mode=438)
                CreateFileOp(afp=['logs', '059eaef7-1b54-4f35-a225-54a5d93ea042.meta'] mode=438)
                ExecInDockerContainerOp(container=<Container: 7dc5685889> cmd=['isolate', '--dir=/sandbox=/workspace/sandbox:rw', '--meta=/workspace/sandbox/logs/059eaef7-1b54-4f35-a225-54a5d93ea042.meta', '--mem=131072', '--time=1.0', '--wall-time=3.0', '--extra-time=1.0', '--fsize=0', '--processes=1', '--stdin=/sandbox/data/6/rsubseq_6_1.in', '--stdout=/sandbox/logs/059eaef7-1b54-4f35-a225-54a5d93ea042.stdout', '--stderr=/sandbox/logs/059eaef7-1b54-4f35-a225-54a5d93ea042.stderr', '--run', '--', '/usr/bin/java', '-Xmx128m', '-Xms16m', '/sandbox/subm/Main'] kwargs={'privileged': True})
                ReadFileOp(afp=['logs', '059eaef7-1b54-4f35-a225-54a5d93ea042.meta'])
              ReadFileOp(afp=['logs', '059eaef7-1b54-4f35-a225-54a5d93ea042.stderr'])
              ReadFileOp(afp=['logs', '059eaef7-1b54-4f35-a225-54a5d93ea042.stdout'])
              UpdateJudgeResultOp(testset_id=6 testcase_id=11 testcase_status=TestCaseJudgeStatus.RUNTIME_ERROR max_rss=None time=None error={'isolate_output': 'Exited with error status 1\n', 'stderr': '', 'stdout': 'Error occurred during initialization of VM\nCould not reserve enough space for code cache\n'})
              UpdateJudgeResultOp(testset_id=6 testcase_id=None score=0)
              ExecuteTask(sandbox=SandboxEnviron(lang=Lang.JAVA container=<Container: 7dc5685889> isolated=True) bin_file=['subm', 'Main.class'] stdin_file=['data', '7', 'rsubseq_7_1.in'])
                CheckFileExistsOp(afp=['data', '7', 'rsubseq_7_1.in'])
                CheckFileExistsOp(afp=['subm', 'Main.class'])
                CreateFileOp(afp=['logs', '5984e644-7ae8-4a3d-9539-f58d92237e25.stdout'] mode=438)
                CreateFileOp(afp=['logs', '5984e644-7ae8-4a3d-9539-f58d92237e25.stderr'] mode=438)
                CreateFileOp(afp=['logs', '5984e644-7ae8-4a3d-9539-f58d92237e25.meta'] mode=438)
                ExecInDockerContainerOp(container=<Container: 7dc5685889> cmd=['isolate', '--dir=/sandbox=/workspace/sandbox:rw', '--meta=/workspace/sandbox/logs/5984e644-7ae8-4a3d-9539-f58d92237e25.meta', '--mem=131072', '--time=1.0', '--wall-time=3.0', '--extra-time=1.0', '--fsize=0', '--processes=1', '--stdin=/sandbox/data/7/rsubseq_7_1.in', '--stdout=/sandbox/logs/5984e644-7ae8-4a3d-9539-f58d92237e25.stdout', '--stderr=/sandbox/logs/5984e644-7ae8-4a3d-9539-f58d92237e25.stderr', '--run', '--', '/usr/bin/java', '-Xmx128m', '-Xms16m', '/sandbox/subm/Main'] kwargs={'privileged': True})
                ReadFileOp(afp=['logs', '5984e644-7ae8-4a3d-9539-f58d92237e25.meta'])
              ReadFileOp(afp=['logs', '5984e644-7ae8-4a3d-9539-f58d92237e25.stderr'])
              ReadFileOp(afp=['logs', '5984e644-7ae8-4a3d-9539-f58d92237e25.stdout'])
              UpdateJudgeResultOp(testset_id=7 testcase_id=13 testcase_status=TestCaseJudgeStatus.RUNTIME_ERROR max_rss=None time=None error={'isolate_output': 'Exited with error status 1\n', 'stderr': '', 'stdout': 'Error occurred during initialization of VM\nCould not reserve enough space for code cache\n'})
              UpdateJudgeResultOp(testset_id=7 testcase_id=None score=0)
              ExecuteTask(sandbox=SandboxEnviron(lang=Lang.JAVA container=<Container: 7dc5685889> isolated=True) bin_file=['subm', 'Main.class'] stdin_file=['data', '8', 'rsubseq_8_1.in'])
                CheckFileExistsOp(afp=['data', '8', 'rsubseq_8_1.in'])
                CheckFileExistsOp(afp=['subm', 'Main.class'])
                CreateFileOp(afp=['logs', '09cd9e8d-521d-4dd7-adae-17ba557264e3.stdout'] mode=438)
                CreateFileOp(afp=['logs', '09cd9e8d-521d-4dd7-adae-17ba557264e3.stderr'] mode=438)
                CreateFileOp(afp=['logs', '09cd9e8d-521d-4dd7-adae-17ba557264e3.meta'] mode=438)
                ExecInDockerContainerOp(container=<Container: 7dc5685889> cmd=['isolate', '--dir=/sandbox=/workspace/sandbox:rw', '--meta=/workspace/sandbox/logs/09cd9e8d-521d-4dd7-adae-17ba557264e3.meta', '--mem=131072', '--time=1.0', '--wall-time=3.0', '--extra-time=1.0', '--fsize=0', '--processes=1', '--stdin=/sandbox/data/8/rsubseq_8_1.in', '--stdout=/sandbox/logs/09cd9e8d-521d-4dd7-adae-17ba557264e3.stdout', '--stderr=/sandbox/logs/09cd9e8d-521d-4dd7-adae-17ba557264e3.stderr', '--run', '--', '/usr/bin/java', '-Xmx128m', '-Xms16m', '/sandbox/subm/Main'] kwargs={'privileged': True})
                ReadFileOp(afp=['logs', '09cd9e8d-521d-4dd7-adae-17ba557264e3.meta'])
              ReadFileOp(afp=['logs', '09cd9e8d-521d-4dd7-adae-17ba557264e3.stderr'])
              ReadFileOp(afp=['logs', '09cd9e8d-521d-4dd7-adae-17ba557264e3.stdout'])
              UpdateJudgeResultOp(testset_id=8 testcase_id=15 testcase_status=TestCaseJudgeStatus.RUNTIME_ERROR max_rss=None time=None error={'isolate_output': 'Exited with error status 1\n', 'stderr': '', 'stdout': 'Error occurred during initialization of VM\nCould not reserve enough space for code cache\n'})
              UpdateJudgeResultOp(testset_id=8 testcase_id=None score=0)
              ExecuteTask(sandbox=SandboxEnviron(lang=Lang.JAVA container=<Container: 7dc5685889> isolated=True) bin_file=['subm', 'Main.class'] stdin_file=['data', '9', 'rsubseq_9_1.in'])
                CheckFileExistsOp(afp=['data', '9', 'rsubseq_9_1.in'])
                CheckFileExistsOp(afp=['subm', 'Main.class'])
                CreateFileOp(afp=['logs', '96698b5f-9506-447e-ae1b-9162186ab7ee.stdout'] mode=438)
                CreateFileOp(afp=['logs', '96698b5f-9506-447e-ae1b-9162186ab7ee.stderr'] mode=438)
                CreateFileOp(afp=['logs', '96698b5f-9506-447e-ae1b-9162186ab7ee.meta'] mode=438)
                ExecInDockerContainerOp(container=<Container: 7dc5685889> cmd=['isolate', '--dir=/sandbox=/workspace/sandbox:rw', '--meta=/workspace/sandbox/logs/96698b5f-9506-447e-ae1b-9162186ab7ee.meta', '--mem=131072', '--time=1.0', '--wall-time=3.0', '--extra-time=1.0', '--fsize=0', '--processes=1', '--stdin=/sandbox/data/9/rsubseq_9_1.in', '--stdout=/sandbox/logs/96698b5f-9506-447e-ae1b-9162186ab7ee.stdout', '--stderr=/sandbox/logs/96698b5f-9506-447e-ae1b-9162186ab7ee.stderr', '--run', '--', '/usr/bin/java', '-Xmx128m', '-Xms16m', '/sandbox/subm/Main'] kwargs={'privileged': True})
                ReadFileOp(afp=['logs', '96698b5f-9506-447e-ae1b-9162186ab7ee.meta'])
              ReadFileOp(afp=['logs', '96698b5f-9506-447e-ae1b-9162186ab7ee.stderr'])
              ReadFileOp(afp=['logs', '96698b5f-9506-447e-ae1b-9162186ab7ee.stdout'])
              UpdateJudgeResultOp(testset_id=9 testcase_id=17 testcase_status=TestCaseJudgeStatus.RUNTIME_ERROR max_rss=None time=None error={'isolate_output': 'Exited with error status 1\n', 'stderr': '', 'stdout': 'Error occurred during initialization of VM\nCould not reserve enough space for code cache\n'})
              UpdateJudgeResultOp(testset_id=9 testcase_id=None score=0)
              UpdateJudgeResultOp(testset_id=None testcase_id=None status=JudgeStatus.FAILED error=None)
          KillDockerContainerOp(container=<Container: 208cf233b6>)
        KillDockerContainerOp(container=<Container: 7dc5685889>)
    RemoveDirectoryOp(target=ROOT)
  • API 서버와 통신 연동작업 - 박종빈
  • 자잘한 버그 수정 - 박종빈
  • 진행중인 태스크에 대한 로거 구현 - 박종빈
  • 테스트 추가 Treadmill - Testing #41 - 박종빈
==================== test session starts =======================
platform darwin -- Python 3.6.5rc1, pytest-3.6.0, py-1.5.3, pluggy-0.6.0
rootdir: /Users/jjong/Project/talk4u/coding, inifile:
collected 18 items                                                                                                                                                                                                                                                                                                         

treadmill/tests/tasks/test_container.py .................. [100%]

====================== warnings summary ========================
treadmill/tests/tasks/test_container.py::TestConfig
  cannot collect test class 'TestConfig' because it has a __init__ constructor

-- Docs: http://doc.pytest.org/en/latest/warnings.html
=========== 18 passed, 1 warnings in 0.40 seconds ==============

Frontend

이번 iteration에 한 일

  • 401 auth handling #9 - 차현탁
  • Responsive web design: design system built #10 - 차현탁
  • Routing config policy changed: slug -> id #11 - 차현탁
  • Problem History and Rank page built - 차현탁
  • Markdown/LaTeX & Code split(using codemirror) Component applied [Feature/setup auxiliary lib #12] - 차현탁(talk4u/coding-web@c1de724)
  • Connect API server to fetch History #13 - 차현탁
  • Polling along with saga pattern #14 - 차현탁
  • Atomic Design Enhancement #15 - 차현탁
@wdyd2004 wdyd2004 added help wanted Extra attention is needed progress-report labels Jun 10, 2018
@wdyd2004 wdyd2004 added this to the Sprint 4 milestone Jun 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed progress-report
Projects
None yet
Development

No branches or pull requests

4 participants