DMOJ / judge-server

Judging backend server for the DMOJ online judge.
https://dmoj.ca
GNU Affero General Public License v3.0
874 stars 246 forks source link

Error when run docker #905

Open quanghuynguyen1902 opened 2 years ago

quanghuynguyen1902 commented 2 years ago

error when run docker run \ -v /mnt/problems:/problems \ --cap-add=SYS_PTRACE \ dmoj/judge-tier1:latest \ cli -c /problems/judge.yml

error is

  File "/usr/local/bin/dmoj-cli", line 33, in <module>
    sys.exit(load_entry_point('dmoj', 'console_scripts', 'dmoj-cli')())
  File "/judge/dmoj/cli.py", line 71, in main
    sys.exit(cli_main())
  File "/judge/dmoj/cli.py", line 78, in cli_main
    judgeenv.load_env(cli=True)
  File "/judge/dmoj/judgeenv.py", line 158, in load_env
    env.update(yaml.safe_load(runtimes_file))
  File "/usr/local/lib/python3.9/dist-packages/yaml/__init__.py", line 162, in safe_load
    return load(stream, SafeLoader)
  File "/usr/local/lib/python3.9/dist-packages/yaml/__init__.py", line 114, in load
    return loader.get_single_data()
  File "/usr/local/lib/python3.9/dist-packages/yaml/constructor.py", line 49, in get_single_data
    node = self.get_single_node()
  File "/usr/local/lib/python3.9/dist-packages/yaml/composer.py", line 36, in get_single_node
    document = self.compose_document()
  File "/usr/local/lib/python3.9/dist-packages/yaml/composer.py", line 55, in compose_document
    node = self.compose_node(None, None)
  File "/usr/local/lib/python3.9/dist-packages/yaml/composer.py", line 84, in compose_node
    node = self.compose_mapping_node(anchor)

  File "/usr/local/lib/python3.9/dist-packages/yaml/composer.py", line 127, in compose_mapping_node
    while not self.check_event(MappingEndEvent):
  File "/usr/local/lib/python3.9/dist-packages/yaml/parser.py", line 98, in check_event
    self.current_event = self.state()
  File "/usr/local/lib/python3.9/dist-packages/yaml/parser.py", line 438, in parse_block_mapping_key
    raise ParserError("while parsing a block mapping", self.marks[-1],
yaml.parser.ParserError: while parsing a block mapping
  in "/judge-runtime-paths.yml", line 1, column 1
expected <block end>, but found '<block mapping start>'
  in "/judge-runtime-paths.yml", line 2, column 3
Xyene commented 2 years ago

What are the contents of /judge-runtime-paths.yml in the container? You should be able to obtain it by running

$ docker exec -it judge cat /judge-runtime-paths.yml

replacing judge for whatever you called your container. This sounds to me like the build step failed; can you provide logs for that?

ngatdo3003 commented 2 years ago

Thanks for your reply! When I build tier-1 with command: "make judge-tier1" it sucess

image

Here is my containers:

image

But when I run docker exec -it 48c cat judge/judge-runtime-paths.yml Error response from daemon: Container 48c4c2d084fbc66e2985dec0b0f0bd5189386dc6e9a0a7b1548fc8a6c006bd07 is not running

leduythuccs commented 2 years ago

The image show that your container has been exited, you should start the container before running the docker exec...

ngatdo3003 commented 2 years ago

I started the container and here's the result cat: judge/judge-runtime-paths.yml: No such file or directory

leduythuccs commented 2 years ago

you should use docker exec -it 48c cat /judge-runtime-paths.yml (don't use judge/judge-runtime-paths.yml)

ngatdo3003 commented 2 years ago

thanks, here's the result

runtime: {}
  crt_x86_in_lib32: true
leduythuccs commented 2 years ago

Weird, I think you should rebuild the image without cache. In .docker folder, try to run

cd tier1 && docker build --no-cache --build-arg TAG="master" -t dmoj/judge-tier1 -t dmoj/judge-tier1:latest .
Xyene commented 2 years ago

Also, please provide logs after running the command @leduythuccs mentioned. What I suspect happened is the judge entirely failed to autoconf, and generated a valid-but-empty YAML that we butchered by adding crt_x86_in_lib32 to it. While this is a bug, it's not the root cause.

ngatdo3003 commented 2 years ago
Sending build context to Docker daemon  2.048kB
Step 1/4 : FROM dmoj/runtimes-tier1
 ---> e1b3e1624358
Step 2/4 : ARG TAG=master
 ---> Running in 60ac95067afe
Removing intermediate container 60ac95067afe
 ---> 9dfbff271626
Step 3/4 : RUN mkdir /judge /problems && cd /judge &&   curl -L https://github.com/DMOJ/judge-server/archive/"${TAG}".tar.gz | tar -xz --strip-components=1 &&  pip3 install -e . &&    HOME=~judge . ~judge/.profile &&    runuser -u judge -w PATH -- dmoj-autoconf -V > /judge-runtime-paths.yml &&  echo '  crt_x86_in_lib32: true' >> /judge-runtime-paths.yml
 ---> Running in c8096a889ce7
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   125  100   125    0     0    641      0 --:--:-- --:--:-- --:--:--   641
100  803k    0  803k    0     0  1376k      0 --:--:-- --:--:-- --:--:-- 2697k
Obtaining file:///judge
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
    Preparing wheel metadata: started
    Preparing wheel metadata: finished with status 'done'
Collecting pygments
  Downloading Pygments-2.10.0-py3-none-any.whl (1.0 MB)
Collecting pylru
  Downloading pylru-1.2.0.tar.gz (18 kB)
Collecting termcolor
  Downloading termcolor-1.1.0.tar.gz (3.9 kB)
Collecting watchdog
  Downloading watchdog-2.1.5-py3-none-manylinux2014_x86_64.whl (75 kB)
Collecting pyyaml
  Downloading PyYAML-5.4.1-cp39-cp39-manylinux1_x86_64.whl (630 kB)
Collecting setproctitle
  Downloading setproctitle-1.2.2-cp39-cp39-manylinux1_x86_64.whl (35 kB)
Building wheels for collected packages: pylru, termcolor
  Building wheel for pylru (setup.py): started
  Building wheel for pylru (setup.py): finished with status 'done'
  Created wheel for pylru: filename=pylru-1.2.0-py3-none-any.whl size=15691 sha256=d1fa6a10583eb07b5aef349dfab860e57f1e77b98180bd551bbe58598704b73a
  Stored in directory: /root/.cache/pip/wheels/04/f4/30/a7c4d82b70acc60310d9ef4c1aeb9fb87b105a3cff1e418490
  Building wheel for termcolor (setup.py): started
  Building wheel for termcolor (setup.py): finished with status 'done'
  Created wheel for termcolor: filename=termcolor-1.1.0-py3-none-any.whl size=4830 sha256=064cfc83c0157a3cb29d63be2cedd9aefa61d38a97d3ab1812e766d7989a7529
  Stored in directory: /root/.cache/pip/wheels/b6/0d/90/0d1bbd99855f99cb2f6c2e5ff96f8023fad8ec367695f7d72d
Successfully built pylru termcolor
Installing collected packages: watchdog, termcolor, setproctitle, pyyaml, pylru, pygments, dmoj
  Running setup.py develop for dmoj
Successfully installed dmoj pygments-2.10.0 pylru-1.2.0 pyyaml-5.4.1 setproctitle-1.2.2 termcolor-1.1.0 watchdog-2.1.5
Auto-configuring ADA:    Failed to find "gnatmake"
Auto-configuring AWK:    Failed self-test
  Attempted:
    awk: /usr/bin/mawk
  Errors:
    Traceback (most recent call last):
      File "/judge/dmoj/executors/base_executor.py", line 142, in run_self_test
        proc = executor.launch(
      File "/judge/dmoj/executors/mixins.py", line 159, in launch
        return TracedPopen(
      File "/judge/dmoj/cptbox/tracer.py", line 120, in __init__
        raise RuntimeError(f'Sandbox requires Linux 4.8+ to use seccomp, you have {os.uname().release}')
    RuntimeError: Sandbox requires Linux 4.8+ to use seccomp, you have 4.4.0-210-generic

Auto-configuring BF:     Failed self-test
  Attempted:
    gcc: /usr/bin/gcc
    gcc_target_arch: null
  Errors:
    Traceback (most recent call last):
      File "/judge/dmoj/executors/base_executor.py", line 142, in run_self_test
        proc = executor.launch(
      File "/judge/dmoj/executors/BF.py", line 65, in launch
        return super().launch(str(memory * 1024), **kwargs)
      File "/judge/dmoj/executors/mixins.py", line 159, in launch
        return TracedPopen(
      File "/judge/dmoj/cptbox/tracer.py", line 120, in __init__
        raise RuntimeError(f'Sandbox requires Linux 4.8+ to use seccomp, you have {os.uname().release}')
    RuntimeError: Sandbox requires Linux 4.8+ to use seccomp, you have 4.4.0-210-generic

Auto-configuring C:      Failed self-test
  Attempted:
    gcc: /usr/bin/gcc
    gcc_target_arch: null
  Errors:
    Traceback (most recent call last):
      File "/judge/dmoj/executors/base_executor.py", line 141, in run_self_test
        executor = cls(cls.test_name, utf8bytes(cls.test_program))
      File "/judge/dmoj/executors/compiled_executor.py", line 64, in __call__
        obj.compile()
      File "/judge/dmoj/executors/compiled_executor.py", line 253, in compile
        self.warning = self.get_compile_output(process)
      File "/judge/dmoj/executors/compiled_executor.py", line 235, in get_compile_output
        self.handle_compile_error(output)
      File "/judge/dmoj/executors/compiled_executor.py", line 246, in handle_compile_error
        raise CompileError(output)
    dmoj.error.CompileError: gcc: error: : No such file or directory

Auto-configuring C11:    Failed self-test
  Attempted:
    gcc11: /usr/bin/gcc
    gcc_target_arch: null
  Errors:
    Traceback (most recent call last):
      File "/judge/dmoj/executors/base_executor.py", line 141, in run_self_test
        executor = cls(cls.test_name, utf8bytes(cls.test_program))
      File "/judge/dmoj/executors/compiled_executor.py", line 64, in __call__
        obj.compile()
      File "/judge/dmoj/executors/compiled_executor.py", line 253, in compile
        self.warning = self.get_compile_output(process)
      File "/judge/dmoj/executors/compiled_executor.py", line 235, in get_compile_output
        self.handle_compile_error(output)
      File "/judge/dmoj/executors/compiled_executor.py", line 246, in handle_compile_error
        raise CompileError(output)
    dmoj.error.CompileError: gcc: error: : No such file or directory

Auto-configuring CBL:    Failed to find "cobc"
Auto-configuring CLANG:  Failed to find "clang"
Auto-configuring CLANGX: Failed to find "clang++"
Auto-configuring COFFEE: Failed to find "node"
Auto-configuring CPP03:  Failed self-test
  Attempted:
    g++: /usr/bin/g++
    gcc_target_arch: null
  Errors:
    Traceback (most recent call last):
      File "/judge/dmoj/executors/base_executor.py", line 141, in run_self_test
        executor = cls(cls.test_name, utf8bytes(cls.test_program))
      File "/judge/dmoj/executors/compiled_executor.py", line 64, in __call__
        obj.compile()
      File "/judge/dmoj/executors/compiled_executor.py", line 253, in compile
        self.warning = self.get_compile_output(process)
      File "/judge/dmoj/executors/compiled_executor.py", line 235, in get_compile_output
        self.handle_compile_error(output)
      File "/judge/dmoj/executors/compiled_executor.py", line 246, in handle_compile_error
        raise CompileError(output)
    dmoj.error.CompileError: g++: error: : No such file or directory

Auto-configuring CPP11:  Failed self-test
  Attempted:
    g++11: /usr/bin/g++
    gcc_target_arch: null
  Errors:
    Traceback (most recent call last):
      File "/judge/dmoj/executors/base_executor.py", line 141, in run_self_test
        executor = cls(cls.test_name, utf8bytes(cls.test_program))
      File "/judge/dmoj/executors/compiled_executor.py", line 64, in __call__
        obj.compile()
      File "/judge/dmoj/executors/compiled_executor.py", line 253, in compile
        self.warning = self.get_compile_output(process)
      File "/judge/dmoj/executors/compiled_executor.py", line 235, in get_compile_output
        self.handle_compile_error(output)
      File "/judge/dmoj/executors/compiled_executor.py", line 246, in handle_compile_error
        raise CompileError(output)
    dmoj.error.CompileError: g++: error: : No such file or directory

Auto-configuring CPP14:  Failed self-test
  Attempted:
    g++14: /usr/bin/g++
    gcc_target_arch: null
  Errors:
    Traceback (most recent call last):
      File "/judge/dmoj/executors/base_executor.py", line 141, in run_self_test
        executor = cls(cls.test_name, utf8bytes(cls.test_program))
      File "/judge/dmoj/executors/compiled_executor.py", line 64, in __call__
        obj.compile()
      File "/judge/dmoj/executors/compiled_executor.py", line 253, in compile
        self.warning = self.get_compile_output(process)
      File "/judge/dmoj/executors/compiled_executor.py", line 235, in get_compile_output
        self.handle_compile_error(output)
      File "/judge/dmoj/executors/compiled_executor.py", line 246, in handle_compile_error
        raise CompileError(output)
    dmoj.error.CompileError: g++: error: : No such file or directory

Auto-configuring CPP17:  Failed self-test
  Attempted:
    g++17: /usr/bin/g++
    gcc_target_arch: null
  Errors:
    Traceback (most recent call last):
      File "/judge/dmoj/executors/base_executor.py", line 141, in run_self_test
        executor = cls(cls.test_name, utf8bytes(cls.test_program))
      File "/judge/dmoj/executors/compiled_executor.py", line 64, in __call__
        obj.compile()
      File "/judge/dmoj/executors/compiled_executor.py", line 253, in compile
        self.warning = self.get_compile_output(process)
      File "/judge/dmoj/executors/compiled_executor.py", line 235, in get_compile_output
        self.handle_compile_error(output)
      File "/judge/dmoj/executors/compiled_executor.py", line 246, in handle_compile_error
        raise CompileError(output)
    dmoj.error.CompileError: g++: error: : No such file or directory

Auto-configuring CPP20:  Failed self-test
  Attempted:
    g++20: /usr/bin/g++-11
    gcc_target_arch: null
  Errors:
    Traceback (most recent call last):
      File "/judge/dmoj/executors/base_executor.py", line 141, in run_self_test
        executor = cls(cls.test_name, utf8bytes(cls.test_program))
      File "/judge/dmoj/executors/compiled_executor.py", line 64, in __call__
        obj.compile()
      File "/judge/dmoj/executors/compiled_executor.py", line 253, in compile
        self.warning = self.get_compile_output(process)
      File "/judge/dmoj/executors/compiled_executor.py", line 235, in get_compile_output
        self.handle_compile_error(output)
      File "/judge/dmoj/executors/compiled_executor.py", line 246, in handle_compile_error
        raise CompileError(output)
    dmoj.error.CompileError: self_testcpp.cpp: In function ‘int main()’:
    self_testcpp.cpp:5:26: warning: variable ‘comparison’ set but not used [-Wunused-but-set-variable]
        5 |     std::strong_ordering comparison = 1 <=> 2;
          |                          ^~~~~~~~~~
    /usr/bin/ld: cannot find : No such file or directory
    collect2: error: ld returned 1 exit status

Auto-configuring D:      Failed to find "dmd"
Auto-configuring DART:   Failed to find "dart"
Auto-configuring F95:    Failed to find "gfortran"
Auto-configuring FORTH:  Failed to find "gforth"
Auto-configuring GAS32:  Failed self-test
  Attempted:
    as_x86: /usr/bin/as
    ld_x86: /usr/bin/ld
  Errors:
    Traceback (most recent call last):
      File "/judge/dmoj/executors/base_executor.py", line 142, in run_self_test
        proc = executor.launch(
      File "/judge/dmoj/executors/mixins.py", line 159, in launch
        return TracedPopen(
      File "/judge/dmoj/cptbox/tracer.py", line 120, in __init__
        raise RuntimeError(f'Sandbox requires Linux 4.8+ to use seccomp, you have {os.uname().release}')
    RuntimeError: Sandbox requires Linux 4.8+ to use seccomp, you have 4.4.0-210-generic

Auto-configuring GAS64:  Failed self-test
  Attempted:
    as_x64: /usr/bin/x86_64-linux-gnu-as
    ld_x64: /usr/bin/x86_64-linux-gnu-ld
  Errors:
    Traceback (most recent call last):
      File "/judge/dmoj/executors/base_executor.py", line 142, in run_self_test
        proc = executor.launch(
      File "/judge/dmoj/executors/mixins.py", line 159, in launch
        return TracedPopen(
      File "/judge/dmoj/cptbox/tracer.py", line 120, in __init__
        raise RuntimeError(f'Sandbox requires Linux 4.8+ to use seccomp, you have {os.uname().release}')
    RuntimeError: Sandbox requires Linux 4.8+ to use seccomp, you have 4.4.0-210-generic

Auto-configuring GASARM: Unable to natively debug
Auto-configuring GO:     Failed to find "go"
Auto-configuring GROOVY: Failed to find "groovyc"
Auto-configuring HASK:   Failed to find "ghc"
Auto-configuring ICK:    Failed to find "ick"
Auto-configuring JAVA10: Could not find JVM
Auto-configuring JAVA11: Could not find JVM
Auto-configuring JAVA15: Could not find JVM
Auto-configuring JAVA8:  Could not find JVM
Auto-configuring JAVA9:  Could not find JVM
Auto-configuring KOTLIN: Failed to find "kotlinc"
Auto-configuring LUA:    Failed to find "lua"
Auto-configuring MONOCS: Failed to find "mono-csc"
Auto-configuring MONOFS: Failed to find "fsharpc"
Auto-configuring MONOVB: Failed to find "mono-vbnc"
Auto-configuring NASM:   Failed to find "nasm"
Auto-configuring NASM64: Failed to find "nasm"
Auto-configuring OBJC:   Failed to find "gobjc"
Auto-configuring OCAML:  Failed to find "ocamlfind"
Auto-configuring PAS:    Failed self-test
  Attempted:
    fpc: /usr/bin/fpc
  Errors:
    Traceback (most recent call last):
      File "/judge/dmoj/executors/base_executor.py", line 142, in run_self_test
        proc = executor.launch(
      File "/judge/dmoj/executors/mixins.py", line 159, in launch
        return TracedPopen(
      File "/judge/dmoj/cptbox/tracer.py", line 120, in __init__
        raise RuntimeError(f'Sandbox requires Linux 4.8+ to use seccomp, you have {os.uname().release}')
    RuntimeError: Sandbox requires Linux 4.8+ to use seccomp, you have 4.4.0-210-generic

Auto-configuring PERL:   Failed self-test
  Attempted:
    perl: /usr/bin/perl
  Errors:
    Traceback (most recent call last):
      File "/judge/dmoj/executors/base_executor.py", line 142, in run_self_test
        proc = executor.launch(
      File "/judge/dmoj/executors/mixins.py", line 159, in launch
        return TracedPopen(
      File "/judge/dmoj/cptbox/tracer.py", line 120, in __init__
        raise RuntimeError(f'Sandbox requires Linux 4.8+ to use seccomp, you have {os.uname().release}')
    RuntimeError: Sandbox requires Linux 4.8+ to use seccomp, you have 4.4.0-210-generic

Auto-configuring PHP:    Failed to find "php"
Auto-configuring PIKE:   Failed to find "pike"
Auto-configuring PRO:    Failed to find "swipl"
Auto-configuring PY2:    Failed self-test
  Attempted:
    python: /usr/bin/python2.7
  Errors:
    Traceback (most recent call last):
      File "/judge/dmoj/executors/base_executor.py", line 142, in run_self_test
        proc = executor.launch(
      File "/judge/dmoj/executors/mixins.py", line 159, in launch
        return TracedPopen(
      File "/judge/dmoj/cptbox/tracer.py", line 120, in __init__
        raise RuntimeError(f'Sandbox requires Linux 4.8+ to use seccomp, you have {os.uname().release}')
    RuntimeError: Sandbox requires Linux 4.8+ to use seccomp, you have 4.4.0-210-generic

Auto-configuring PY3:    Failed self-test
  Attempted:
    python3: /usr/bin/python3
  Errors:
    Traceback (most recent call last):
      File "/judge/dmoj/executors/base_executor.py", line 142, in run_self_test
        proc = executor.launch(
      File "/judge/dmoj/executors/mixins.py", line 159, in launch
        return TracedPopen(
      File "/judge/dmoj/cptbox/tracer.py", line 120, in __init__
        raise RuntimeError(f'Sandbox requires Linux 4.8+ to use seccomp, you have {os.uname().release}')
    RuntimeError: Sandbox requires Linux 4.8+ to use seccomp, you have 4.4.0-210-generic

Auto-configuring PYPY:   Failed to find "pypy"
Auto-configuring PYPY3:  Failed to find "pypy3"
Auto-configuring RKT:    Failed to find "racket"
Auto-configuring RUBY2:  Failed to find "ruby2"
Auto-configuring RUST:   Failed to find "cargo"
Auto-configuring SBCL:   Failed to find "sbcl"
Auto-configuring SCALA:  Failed to find "scalac"
Auto-configuring SCM:    Failed to find "chicken-csc"
Auto-configuring SED:    Failed self-test
  Attempted:
    sed: /bin/sed
  Errors:
    Traceback (most recent call last):
      File "/judge/dmoj/executors/base_executor.py", line 142, in run_self_test
        proc = executor.launch(
      File "/judge/dmoj/executors/mixins.py", line 159, in launch
        return TracedPopen(
      File "/judge/dmoj/cptbox/tracer.py", line 120, in __init__
        raise RuntimeError(f'Sandbox requires Linux 4.8+ to use seccomp, you have {os.uname().release}')
    RuntimeError: Sandbox requires Linux 4.8+ to use seccomp, you have 4.4.0-210-generic

Auto-configuring SWIFT:  Failed to find "swiftc"
Auto-configuring TCL:    Failed to find "tclsh"
Auto-configuring TEXT:   Failed self-test
  Attempted:
    cat: /bin/cat
  Errors:
    Traceback (most recent call last):
      File "/judge/dmoj/executors/base_executor.py", line 142, in run_self_test
        proc = executor.launch(
      File "/judge/dmoj/executors/mixins.py", line 159, in launch
        return TracedPopen(
      File "/judge/dmoj/cptbox/tracer.py", line 120, in __init__
        raise RuntimeError(f'Sandbox requires Linux 4.8+ to use seccomp, you have {os.uname().release}')
    RuntimeError: Sandbox requires Linux 4.8+ to use seccomp, you have 4.4.0-210-generic

Auto-configuring TUR:    Failed to find "tprolog"
Auto-configuring V8JS:   Failed to find "v8dmoj"
Auto-configuring ZIG:    Failed to find "zig"
No runtimes configured.
Removing intermediate container c8096a889ce7
 ---> 181f55feadea
Step 4/4 : ENTRYPOINT ["/judge/.docker/entry"]
 ---> Running in 96cfd40dfd06
Removing intermediate container 96cfd40dfd06
 ---> 196fdb0037d7
Successfully built 196fdb0037d7
Successfully tagged dmoj/judge-tier1:latest
Xyene commented 2 years ago

Sandbox requires Linux 4.8+ to use seccomp, you have 4.4.0-210-generic

That's the error. Either upgrade your kernel (4.4 is very old!), or use https://github.com/DMOJ/judge-server/releases/tag/v3.0.2, as that is the last version that supports kernels before 4.8.

ngatdo3003 commented 2 years ago

I've just checkout branch 5fddf1d05999e4edc3feb4e249ed029a70b18215 for vesion 3.0.2

HEAD is now at 5fddf1d... Bump version to 3.0.2

The contents of judge-runtime-paths.yml is:

runtime: {}
  crt_x86_in_lib32: true

But there're the same errors when I run the command docker run \ -v /mnt/problems:/problems \ --cap-add=SYS_PTRACE \ dmoj/judge-tier1:latest \ cli -c /problems/judge.yml and rebuild image without cache using the command @leduythuccs mentioned. Are there any problems with my os? My os is Ubuntu 16.04.7 LTS (GNU/Linux 4.4.0-210-generic x86_64)

Xyene commented 2 years ago

Please post the full logs of the build step when building without cache. If you still see

Sandbox requires Linux 4.8+ to use seccomp, you have 4.4.0-210-generic

You are doing something wrong, as that message was added in https://github.com/DMOJ/judge-server/commit/2ec9acd2ae5ac3f3c4951b3e2c9ca1dc2e546f3c (which came after v3.0.2 / the commit you linked).

Are there any problems with my os? My os is Ubuntu 16.04.7 LTS (GNU/Linux 4.4.0-210-generic x86_64)

Ubuntu 16.04 is very old, and its 4.4 kernel is missing features that DMOJ requires to function properly. It's probably a good idea to upgrade at least the kernel: the sandboxing overhead is substantially lower on kernels supporting seccomp.

Separately, we have very limited manpower to support configurations other than what we run in prod on https://dmoj.ca -- which is always the latest Debian, currently Debian 11. We're happy when other configurations happen to work, but that's all we can actually commit to supporting.

ngatdo3003 commented 2 years ago

Okay, thanks for your supports.

dusteye commented 3 months ago

Weird, I think you should rebuild the image without cache. In .docker folder, try to run

cd tier1 && docker build --no-cache --build-arg TAG="master" -t dmoj/judge-tier1 -t dmoj/judge-tier1:latest .

I got the same problem but on linux kernel 4.18, centos 8.4. The contents of judge-runtime-paths.yml is right. I follow the rebuild command, and got the following output:

`Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg. STEP 1/4: FROM dmoj/runtimes-tier1 STEP 2/4: ARG TAG=master --> aaee1b6f166 STEP 3/4: RUN mkdir /judge /problems && cd /judge && curl -L https://github.com/DMOJ/judge-server/archive/"${TAG}".tar.gz | tar -xz --strip-components=1 && python3 -m venv --prompt=DMOJ /env && /env/bin/pip3 install cython && /env/bin/pip3 install -e . && /env/bin/python3 setup.py develop && HOME=~judge . ~judge/.profile && runuser -u judge -w PATH -- /env/bin/dmoj-autoconf -V > /judge-runtime-paths.yml && echo ' crt_x86_in_lib32: true' >> /judge-runtime-paths.yml % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 822k 0 822k 0 0 342k 0 --:--:-- 0:00:02 --:--:-- 536k Collecting cython WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7ff87844c150>: Failed to establish a new connection: [Errno 101] Network is unreachable')': /packages/53/19/a8a35b1629999862573089793ed916f0bd93a37e8ad997f7dd683f202138/Cython-3.0.9-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out. (read timeout=15)")': /packages/53/19/a8a35b1629999862573089793ed916f0bd93a37e8ad997f7dd683f202138/Cython-3.0.9-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata Downloading Cython-3.0.9-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.2 kB) Downloading Cython-3.0.9-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.6 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.6/3.6 MB 31.5 kB/s eta 0:00:00 Installing collected packages: cython Successfully installed cython-3.0.9 Obtaining file:///judge Installing build dependencies: started Installing build dependencies: finished with status 'done' Checking if build backend supports build_editable: started Checking if build backend supports build_editable: finished with status 'done' Getting requirements to build editable: started Getting requirements to build editable: finished with status 'done' Preparing editable metadata (pyproject.toml): started Preparing editable metadata (pyproject.toml): finished with status 'done' Collecting watchdog (from dmoj==4.1.0) Downloading watchdog-4.0.0-py3-none-manylinux2014_x86_64.whl.metadata (37 kB) Collecting pyyaml (from dmoj==4.1.0) Downloading PyYAML-6.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (2.1 kB) Collecting termcolor (from dmoj==4.1.0) Downloading termcolor-2.4.0-py3-none-any.whl.metadata (6.1 kB) Collecting pygments (from dmoj==4.1.0) Downloading pygments-2.17.2-py3-none-any.whl.metadata (2.6 kB) Collecting setproctitle (from dmoj==4.1.0) Downloading setproctitle-1.3.3-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (9.9 kB) Collecting pylru (from dmoj==4.1.0) Downloading pylru-1.2.1-py3-none-any.whl.metadata (13 kB) Downloading pygments-2.17.2-py3-none-any.whl (1.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 24.0 kB/s eta 0:00:00 Downloading pylru-1.2.1-py3-none-any.whl (16 kB) Downloading PyYAML-6.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (757 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 757.7/757.7 kB 24.2 kB/s eta 0:00:00 Downloading setproctitle-1.3.3-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (31 kB) Downloading termcolor-2.4.0-py3-none-any.whl (7.7 kB) Downloading watchdog-4.0.0-py3-none-manylinux2014_x86_64.whl (82 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 83.0/83.0 kB 20.7 kB/s eta 0:00:00 Building wheels for collected packages: dmoj Building editable for dmoj (pyproject.toml): started Building editable for dmoj (pyproject.toml): finished with status 'done' Created wheel for dmoj: filename=dmoj-4.1.0-0.editable-cp311-cp311-linux_x86_64.whl size=18453 sha256=59b0097b9cb8f7b551946d4ccfb9491f8aa429616ad5e519733313808d2f8481 Stored in directory: /tmp/pip-ephem-wheel-cache-z_ghn4jk/wheels/b9/3b/c2/2e27d1fbc2df322ad7f502a0e623483fb6e0b5cf6081bed670 Successfully built dmoj Installing collected packages: pylru, watchdog, termcolor, setproctitle, pyyaml, pygments, dmoj Successfully installed dmoj-4.1.0 pygments-2.17.2 pylru-1.2.1 pyyaml-6.0.1 setproctitle-1.3.3 termcolor-2.4.0 watchdog-4.0.0 running develop /env/lib/python3.11/site-packages/setuptools/command/develop.py:40: EasyInstallDeprecationWarning: easy_install command is deprecated. !!

    ********************************************************************************
    Please avoid running ``setup.py`` and ``easy_install``.
    Instead, use pypa/build, pypa/installer or other
    standards-based tools.

    See https://github.com/pypa/setuptools/issues/917 for details.
    ********************************************************************************

!! easy_install.initialize_options(self) /env/lib/python3.11/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !!

    ********************************************************************************
    Please avoid running ``setup.py`` directly.
    Instead, use pypa/build, pypa/installer or other
    standards-based tools.

    See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
    ********************************************************************************

!! self.initialize_options() running egg_info writing dmoj.egg-info/PKG-INFO writing dependency_links to dmoj.egg-info/dependency_links.txt writing entry points to dmoj.egg-info/entry_points.txt writing requirements to dmoj.egg-info/requires.txt writing top-level names to dmoj.egg-info/top_level.txt reading manifest file 'dmoj.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'dmoj/executors/.policy' warning: no previously-included files found matching 'dmoj/cptbox/_cptbox.pyx' adding license file 'LICENSE' writing manifest file 'dmoj.egg-info/SOURCES.txt' running build_ext building 'dmoj.checkers._checker' extension creating build creating build/temp.linux-x86_64-cpython-311 creating build/temp.linux-x86_64-cpython-311/dmoj creating build/temp.linux-x86_64-cpython-311/dmoj/checkers x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -fwrapv -O2 -fPIC -I/env/include -I/usr/include/python3.11 -c dmoj/checkers/_checker.c -o build/temp.linux-x86_64-cpython-311/dmoj/checkers/_checker.o -march=native -O3 creating build/lib.linux-x86_64-cpython-311 creating build/lib.linux-x86_64-cpython-311/dmoj creating build/lib.linux-x86_64-cpython-311/dmoj/checkers x86_64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -g -fwrapv -O2 build/temp.linux-x86_64-cpython-311/dmoj/checkers/_checker.o -L/usr/lib/x86_64-linux-gnu -o build/lib.linux-x86_64-cpython-311/dmoj/checkers/_checker.cpython-311-x86_64-linux-gnu.so building 'dmoj.cptbox._cptbox' extension creating build/temp.linux-x86_64-cpython-311/judge creating build/temp.linux-x86_64-cpython-311/judge/dmoj creating build/temp.linux-x86_64-cpython-311/judge/dmoj/cptbox x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -fwrapv -O2 -fPIC -Idmoj/cptbox -I/env/include -I/usr/include/python3.11 -c /judge/dmoj/cptbox/_cptbox.cpp -o build/temp.linux-x86_64-cpython-311/judge/dmoj/cptbox/_cptbox.o -march=native -O3 x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -fwrapv -O2 -fPIC -Idmoj/cptbox -I/env/include -I/usr/include/python3.11 -c /judge/dmoj/cptbox/helper.cpp -o build/temp.linux-x86_64-cpython-311/judge/dmoj/cptbox/helper.o -march=native -O3 x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -fwrapv -O2 -fPIC -Idmoj/cptbox -I/env/include -I/usr/include/python3.11 -c /judge/dmoj/cptbox/ptdebug.cpp -o build/temp.linux-x86_64-cpython-311/judge/dmoj/cptbox/ptdebug.o -march=native -O3 x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -fwrapv -O2 -fPIC -Idmoj/cptbox -I/env/include -I/usr/include/python3.11 -c /judge/dmoj/cptbox/ptdebug_arm.cpp -o build/temp.linux-x86_64-cpython-311/judge/dmoj/cptbox/ptdebug_arm.o -march=native -O3 x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -fwrapv -O2 -fPIC -Idmoj/cptbox -I/env/include -I/usr/include/python3.11 -c /judge/dmoj/cptbox/ptdebug_arm64.cpp -o build/temp.linux-x86_64-cpython-311/judge/dmoj/cptbox/ptdebug_arm64.o -march=native -O3 x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -fwrapv -O2 -fPIC -Idmoj/cptbox -I/env/include -I/usr/include/python3.11 -c /judge/dmoj/cptbox/ptdebug_freebsd_x64.cpp -o build/temp.linux-x86_64-cpython-311/judge/dmoj/cptbox/ptdebug_freebsd_x64.o -march=native -O3 x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -fwrapv -O2 -fPIC -Idmoj/cptbox -I/env/include -I/usr/include/python3.11 -c /judge/dmoj/cptbox/ptdebug_x64.cpp -o build/temp.linux-x86_64-cpython-311/judge/dmoj/cptbox/ptdebug_x64.o -march=native -O3 x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -fwrapv -O2 -fPIC -Idmoj/cptbox -I/env/include -I/usr/include/python3.11 -c /judge/dmoj/cptbox/ptdebug_x86.cpp -o build/temp.linux-x86_64-cpython-311/judge/dmoj/cptbox/ptdebug_x86.o -march=native -O3 x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -fwrapv -O2 -fPIC -Idmoj/cptbox -I/env/include -I/usr/include/python3.11 -c /judge/dmoj/cptbox/ptproc.cpp -o build/temp.linux-x86_64-cpython-311/judge/dmoj/cptbox/ptproc.o -march=native -O3 creating build/lib.linux-x86_64-cpython-311/dmoj/cptbox x86_64-linux-gnu-g++ -shared -Wl,-O1 -Wl,-Bsymbolic-functions -g -fwrapv -O2 build/temp.linux-x86_64-cpython-311/judge/dmoj/cptbox/_cptbox.o build/temp.linux-x86_64-cpython-311/judge/dmoj/cptbox/helper.o build/temp.linux-x86_64-cpython-311/judge/dmoj/cptbox/ptdebug.o build/temp.linux-x86_64-cpython-311/judge/dmoj/cptbox/ptdebug_arm.o build/temp.linux-x86_64-cpython-311/judge/dmoj/cptbox/ptdebug_arm64.o build/temp.linux-x86_64-cpython-311/judge/dmoj/cptbox/ptdebug_freebsd_x64.o build/temp.linux-x86_64-cpython-311/judge/dmoj/cptbox/ptdebug_x64.o build/temp.linux-x86_64-cpython-311/judge/dmoj/cptbox/ptdebug_x86.o build/temp.linux-x86_64-cpython-311/judge/dmoj/cptbox/ptproc.o -L/usr/lib/x86_64-linux-gnu -lrt -lseccomp -o build/lib.linux-x86_64-cpython-311/dmoj/cptbox/_cptbox.cpython-311-x86_64-linux-gnu.so building 'dmoj.utils.setbufsize' extension creating build/temp.linux-x86_64-cpython-311/dmoj/utils x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -fwrapv -O2 -fPIC -I/env/include -I/usr/include/python3.11 -c dmoj/utils/setbufsize.c -o build/temp.linux-x86_64-cpython-311/dmoj/utils/setbufsize.o -march=native -O3 dmoj/utils/setbufsize.c: In function ‘_DMOJ_setbuffer’: dmoj/utils/setbufsize.c:11:18: warning: comparison between pointer and integer 11 | if (end == NULL) { | ^~ creating build/lib.linux-x86_64-cpython-311/dmoj/utils x86_64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -g -fwrapv -O2 build/temp.linux-x86_64-cpython-311/dmoj/utils/setbufsize.o -L/usr/lib/x86_64-linux-gnu -o build/lib.linux-x86_64-cpython-311/dmoj/utils/setbufsize.so copying build/lib.linux-x86_64-cpython-311/dmoj/checkers/_checker.cpython-311-x86_64-linux-gnu.so -> dmoj/checkers copying build/lib.linux-x86_64-cpython-311/dmoj/cptbox/_cptbox.cpython-311-x86_64-linux-gnu.so -> dmoj/cptbox copying build/lib.linux-x86_64-cpython-311/dmoj/utils/setbufsize.so -> dmoj/utils Creating /env/lib/python3.11/site-packages/dmoj.egg-link (link to .) Adding dmoj 4.1.0 to easy-install.pth file Installing dmoj script to /env/bin Installing dmoj-autoconf script to /env/bin Installing dmoj-cli script to /env/bin

Installed /judge Processing dependencies for dmoj==4.1.0 Searching for watchdog==4.0.0 Best match: watchdog 4.0.0 Adding watchdog 4.0.0 to easy-install.pth file Installing watchmedo script to /env/bin

Using /env/lib/python3.11/site-packages Searching for termcolor==2.4.0 Best match: termcolor 2.4.0 Adding termcolor 2.4.0 to easy-install.pth file

Using /env/lib/python3.11/site-packages Searching for setproctitle==1.3.3 Best match: setproctitle 1.3.3 Adding setproctitle 1.3.3 to easy-install.pth file

Using /env/lib/python3.11/site-packages Searching for PyYAML==6.0.1 Best match: PyYAML 6.0.1 Adding PyYAML 6.0.1 to easy-install.pth file

Using /env/lib/python3.11/site-packages Searching for pylru==1.2.1 Best match: pylru 1.2.1 Adding pylru 1.2.1 to easy-install.pth file

Using /env/lib/python3.11/site-packages Searching for pygments==2.17.2 Best match: pygments 2.17.2 Adding pygments 2.17.2 to easy-install.pth file Installing pygmentize script to /env/bin

Using /env/lib/python3.11/site-packages Finished processing dependencies for dmoj==4.1.0 Auto-configuring ADA: Failed to find "gnatmake" ptrace: Operation not permitted Auto-configuring AWK: Traceback (most recent call last): File "/judge/dmoj/cptbox/tracer.py", line 344, in _run_process oom_score_adj(OOM_SCORE_ADJ_MAX, self.pid) File "/judge/dmoj/utils/os_ext.py", line 16, in oom_score_adj with open(f'/proc/{"self" if to is None else to}/oom_score_adj', 'wb') as f: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ PermissionError: [Errno 13] Permission denied: '/proc/201/oom_score_adj' Failed self-test Attempted: awk: /usr/bin/mawk Errors: Traceback (most recent call last): File "/judge/dmoj/executors/base_executor.py", line 343, in run_self_test stdout, stderr = proc.communicate(test_message + b'\n') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/judge/dmoj/utils/communicate.py", line 100, in safe_communicate proc.wait() File "/judge/dmoj/cptbox/tracer.py", line 217, in wait raise RuntimeError( RuntimeError: failed to ptrace child, check Yama config (https://www.kernel.org/doc/Documentation/security/Yama.txt, should be at most 1); if running in Docker, must run container with --cap-add=SYS_PTRACE

Auto-configuring BF: Failed to find "llc" ptrace: Operation not permitted Auto-configuring C: Traceback (most recent call last): File "/judge/dmoj/cptbox/tracer.py", line 344, in _run_process oom_score_adj(OOM_SCORE_ADJ_MAX, self.pid) File "/judge/dmoj/utils/os_ext.py", line 16, in oom_score_adj with open(f'/proc/{"self" if to is None else to}/oom_score_adj', 'wb') as f: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ PermissionError: [Errno 13] Permission denied: '/proc/204/oom_score_adj' ptrace: Operation not permitted Traceback (most recent call last): File "/judge/dmoj/cptbox/tracer.py", line 344, in _run_process oom_score_adj(OOM_SCORE_ADJ_MAX, self.pid) File "/judge/dmoj/utils/os_ext.py", line 16, in oom_score_adj with open(f'/proc/{"self" if to is None else to}/oom_score_adj', 'wb') as f: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ PermissionError: [Errno 13] Permission denied: '/proc/207/oom_score_adj' Failed self-test Attempted: gcc: /usr/bin/gcc gcc_target_arch: null Errors: Traceback (most recent call last): File "/judge/dmoj/executors/base_executor.py", line 337, in run_self_test executor = cls(cls.test_name, utf8bytes(cls.test_program)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/judge/dmoj/executors/compiled_executor.py", line 63, in call obj.compile() File "/judge/dmoj/executors/compiled_executor.py", line 212, in compile self.warning = self.get_compile_output(process) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/judge/dmoj/executors/compiled_executor.py", line 185, in get_compile_output output = safe_communicate(process, None, outlimit=limit, errlimit=limit)[self.compile_output_index] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/judge/dmoj/utils/communicate.py", line 100, in safe_communicate proc.wait() File "/judge/dmoj/cptbox/tracer.py", line 217, in wait raise RuntimeError( RuntimeError: failed to ptrace child, check Yama config (https://www.kernel.org/doc/Documentation/security/Yama.txt, should be at most 1); if running in Docker, must run container with --cap-add=SYS_PTRACE

ptrace: Operation not permitted Auto-configuring C11: Traceback (most recent call last): File "/judge/dmoj/cptbox/tracer.py", line 344, in _run_process oom_score_adj(OOM_SCORE_ADJ_MAX, self.pid) File "/judge/dmoj/utils/os_ext.py", line 16, in oom_score_adj with open(f'/proc/{"self" if to is None else to}/oom_score_adj', 'wb') as f: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ PermissionError: [Errno 13] Permission denied: '/proc/210/oom_score_adj' ptrace: Operation not permitted Traceback (most recent call last): File "/judge/dmoj/cptbox/tracer.py", line 344, in _run_process oom_score_adj(OOM_SCORE_ADJ_MAX, self.pid) File "/judge/dmoj/utils/os_ext.py", line 16, in oom_score_adj with open(f'/proc/{"self" if to is None else to}/oom_score_adj', 'wb') as f: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ PermissionError: [Errno 13] Permission denied: '/proc/213/oom_score_adj' Failed self-test Attempted: gcc11: /usr/bin/gcc gcc_target_arch: null Errors: Traceback (most recent call last): File "/judge/dmoj/executors/base_executor.py", line 337, in run_self_test executor = cls(cls.test_name, utf8bytes(cls.test_program)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/judge/dmoj/executors/compiled_executor.py", line 63, in call obj.compile() File "/judge/dmoj/executors/compiled_executor.py", line 212, in compile self.warning = self.get_compile_output(process) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/judge/dmoj/executors/compiled_executor.py", line 185, in get_compile_output output = safe_communicate(process, None, outlimit=limit, errlimit=limit)[self.compile_output_index] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/judge/dmoj/utils/communicate.py", line 100, in safe_communicate proc.wait() File "/judge/dmoj/cptbox/tracer.py", line 217, in wait raise RuntimeError( RuntimeError: failed to ptrace child, check Yama config (https://www.kernel.org/doc/Documentation/security/Yama.txt, should be at most 1); if running in Docker, must run container with --cap-add=SYS_PTRACE

Auto-configuring CBL: Failed to find "cobc" Auto-configuring CLANG: Failed to find "clang" Auto-configuring CLANGX: Failed to find "clang++" ptrace: Operation not permitted Auto-configuring CPP03: Traceback (most recent call last): File "/judge/dmoj/cptbox/tracer.py", line 344, in _run_process oom_score_adj(OOM_SCORE_ADJ_MAX, self.pid) File "/judge/dmoj/utils/os_ext.py", line 16, in oom_score_adj with open(f'/proc/{"self" if to is None else to}/oom_score_adj', 'wb') as f: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ PermissionError: [Errno 13] Permission denied: '/proc/216/oom_score_adj' ptrace: Operation not permitted Traceback (most recent call last): File "/judge/dmoj/cptbox/tracer.py", line 344, in _run_process oom_score_adj(OOM_SCORE_ADJ_MAX, self.pid) File "/judge/dmoj/utils/os_ext.py", line 16, in oom_score_adj with open(f'/proc/{"self" if to is None else to}/oom_score_adj', 'wb') as f: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ PermissionError: [Errno 13] Permission denied: '/proc/219/oom_score_adj' Failed self-test Attempted: g++: /usr/bin/g++ gcc_target_arch: null Errors: Traceback (most recent call last): File "/judge/dmoj/executors/base_executor.py", line 337, in run_self_test executor = cls(cls.test_name, utf8bytes(cls.test_program)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/judge/dmoj/executors/compiled_executor.py", line 63, in call obj.compile() File "/judge/dmoj/executors/compiled_executor.py", line 212, in compile self.warning = self.get_compile_output(process) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/judge/dmoj/executors/compiled_executor.py", line 185, in get_compile_output output = safe_communicate(process, None, outlimit=limit, errlimit=limit)[self.compile_output_index] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/judge/dmoj/utils/communicate.py", line 100, in safe_communicate proc.wait() File "/judge/dmoj/cptbox/tracer.py", line 217, in wait raise RuntimeError( RuntimeError: failed to ptrace child, check Yama config (https://www.kernel.org/doc/Documentation/security/Yama.txt, should be at most 1); if running in Docker, must run container with --cap-add=SYS_PTRACE

ptrace: Operation not permitted Auto-configuring CPP11: Traceback (most recent call last): File "/judge/dmoj/cptbox/tracer.py", line 344, in _run_process oom_score_adj(OOM_SCORE_ADJ_MAX, self.pid) File "/judge/dmoj/utils/os_ext.py", line 16, in oom_score_adj with open(f'/proc/{"self" if to is None else to}/oom_score_adj', 'wb') as f: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ PermissionError: [Errno 13] Permission denied: '/proc/222/oom_score_adj' ptrace: Operation not permitted Traceback (most recent call last): File "/judge/dmoj/cptbox/tracer.py", line 344, in _run_process oom_score_adj(OOM_SCORE_ADJ_MAX, self.pid) File "/judge/dmoj/utils/os_ext.py", line 16, in oom_score_adj with open(f'/proc/{"self" if to is None else to}/oom_score_adj', 'wb') as f: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ PermissionError: [Errno 13] Permission denied: '/proc/225/oom_score_adj' Failed self-test Attempted: g++11: /usr/bin/g++ gcc_target_arch: null Errors: Traceback (most recent call last): File "/judge/dmoj/executors/base_executor.py", line 337, in run_self_test executor = cls(cls.test_name, utf8bytes(cls.test_program)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/judge/dmoj/executors/compiled_executor.py", line 63, in call obj.compile() File "/judge/dmoj/executors/compiled_executor.py", line 212, in compile self.warning = self.get_compile_output(process) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/judge/dmoj/executors/compiled_executor.py", line 185, in get_compile_output output = safe_communicate(process, None, outlimit=limit, errlimit=limit)[self.compile_output_index] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/judge/dmoj/utils/communicate.py", line 100, in safe_communicate proc.wait() File "/judge/dmoj/cptbox/tracer.py", line 217, in wait raise RuntimeError( RuntimeError: failed to ptrace child, check Yama config (https://www.kernel.org/doc/Documentation/security/Yama.txt, should be at most 1); if running in Docker, must run container with --cap-add=SYS_PTRACE

ptrace: Operation not permitted Auto-configuring CPP14: Traceback (most recent call last): File "/judge/dmoj/cptbox/tracer.py", line 344, in _run_process oom_score_adj(OOM_SCORE_ADJ_MAX, self.pid) File "/judge/dmoj/utils/os_ext.py", line 16, in oom_score_adj with open(f'/proc/{"self" if to is None else to}/oom_score_adj', 'wb') as f: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ PermissionError: [Errno 13] Permission denied: '/proc/228/oom_score_adj' ptrace: Operation not permitted Traceback (most recent call last): File "/judge/dmoj/cptbox/tracer.py", line 344, in _run_process oom_score_adj(OOM_SCORE_ADJ_MAX, self.pid) File "/judge/dmoj/utils/os_ext.py", line 16, in oom_score_adj with open(f'/proc/{"self" if to is None else to}/oom_score_adj', 'wb') as f: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ PermissionError: [Errno 13] Permission denied: '/proc/231/oom_score_adj' Failed self-test Attempted: g++14: /usr/bin/g++ gcc_target_arch: null Errors: Traceback (most recent call last): File "/judge/dmoj/executors/base_executor.py", line 337, in run_self_test executor = cls(cls.test_name, utf8bytes(cls.test_program)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/judge/dmoj/executors/compiled_executor.py", line 63, in call obj.compile() File "/judge/dmoj/executors/compiled_executor.py", line 212, in compile self.warning = self.get_compile_output(process) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/judge/dmoj/executors/compiled_executor.py", line 185, in get_compile_output output = safe_communicate(process, None, outlimit=limit, errlimit=limit)[self.compile_output_index] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/judge/dmoj/utils/communicate.py", line 100, in safe_communicate proc.wait() File "/judge/dmoj/cptbox/tracer.py", line 217, in wait raise RuntimeError( RuntimeError: failed to ptrace child, check Yama config (https://www.kernel.org/doc/Documentation/security/Yama.txt, should be at most 1); if running in Docker, must run container with --cap-add=SYS_PTRACE

ptrace: Operation not permitted Auto-configuring CPP17: Traceback (most recent call last): File "/judge/dmoj/cptbox/tracer.py", line 344, in _run_process oom_score_adj(OOM_SCORE_ADJ_MAX, self.pid) File "/judge/dmoj/utils/os_ext.py", line 16, in oom_score_adj with open(f'/proc/{"self" if to is None else to}/oom_score_adj', 'wb') as f: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ PermissionError: [Errno 13] Permission denied: '/proc/234/oom_score_adj' ptrace: Operation not permitted Traceback (most recent call last): File "/judge/dmoj/cptbox/tracer.py", line 344, in _run_process oom_score_adj(OOM_SCORE_ADJ_MAX, self.pid) File "/judge/dmoj/utils/os_ext.py", line 16, in oom_score_adj with open(f'/proc/{"self" if to is None else to}/oom_score_adj', 'wb') as f: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ PermissionError: [Errno 13] Permission denied: '/proc/237/oom_score_adj' Failed self-test Attempted: g++17: /usr/bin/g++ gcc_target_arch: null Errors: Traceback (most recent call last): File "/judge/dmoj/executors/base_executor.py", line 337, in run_self_test executor = cls(cls.test_name, utf8bytes(cls.test_program)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/judge/dmoj/executors/compiled_executor.py", line 63, in call obj.compile() File "/judge/dmoj/executors/compiled_executor.py", line 212, in compile self.warning = self.get_compile_output(process) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/judge/dmoj/executors/compiled_executor.py", line 185, in get_compile_output output = safe_communicate(process, None, outlimit=limit, errlimit=limit)[self.compile_output_index] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/judge/dmoj/utils/communicate.py", line 100, in safe_communicate proc.wait() File "/judge/dmoj/cptbox/tracer.py", line 217, in wait raise RuntimeError( RuntimeError: failed to ptrace child, check Yama config (https://www.kernel.org/doc/Documentation/security/Yama.txt, should be at most 1); if running in Docker, must run container with --cap-add=SYS_PTRACE

ptrace: Operation not permitted Auto-configuring CPP20: Traceback (most recent call last): File "/judge/dmoj/cptbox/tracer.py", line 344, in _run_process oom_score_adj(OOM_SCORE_ADJ_MAX, self.pid) File "/judge/dmoj/utils/os_ext.py", line 16, in oom_score_adj with open(f'/proc/{"self" if to is None else to}/oom_score_adj', 'wb') as f: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ PermissionError: [Errno 13] Permission denied: '/proc/240/oom_score_adj' ptrace: Operation not permitted Traceback (most recent call last): File "/judge/dmoj/cptbox/tracer.py", line 344, in _run_process oom_score_adj(OOM_SCORE_ADJ_MAX, self.pid) File "/judge/dmoj/utils/os_ext.py", line 16, in oom_score_adj with open(f'/proc/{"self" if to is None else to}/oom_score_adj', 'wb') as f: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ PermissionError: [Errno 13] Permission denied: '/proc/243/oom_score_adj' Failed self-test Attempted: g++20: /usr/bin/g++ gcc_target_arch: null Errors: Traceback (most recent call last): File "/judge/dmoj/executors/base_executor.py", line 337, in run_self_test executor = cls(cls.test_name, utf8bytes(cls.test_program)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/judge/dmoj/executors/compiled_executor.py", line 63, in call obj.compile() File "/judge/dmoj/executors/compiled_executor.py", line 212, in compile self.warning = self.get_compile_output(process) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/judge/dmoj/executors/compiled_executor.py", line 185, in get_compile_output output = safe_communicate(process, None, outlimit=limit, errlimit=limit)[self.compile_output_index] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/judge/dmoj/utils/communicate.py", line 100, in safe_communicate proc.wait() File "/judge/dmoj/cptbox/tracer.py", line 217, in wait raise RuntimeError( RuntimeError: failed to ptrace child, check Yama config (https://www.kernel.org/doc/Documentation/security/Yama.txt, should be at most 1); if running in Docker, must run container with --cap-add=SYS_PTRACE

Auto-configuring D: Failed to find "dmd" Auto-configuring DART: Failed to find "dart" Auto-configuring F95: Failed to find "gfortran" Auto-configuring FORTH: Failed to find "gforth" ptrace: Operation not permitted Auto-configuring GAS32: Traceback (most recent call last): File "/judge/dmoj/cptbox/tracer.py", line 344, in _run_process oom_score_adj(OOM_SCORE_ADJ_MAX, self.pid) File "/judge/dmoj/utils/os_ext.py", line 16, in oom_score_adj with open(f'/proc/{"self" if to is None else to}/oom_score_adj', 'wb') as f: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ PermissionError: [Errno 13] Permission denied: '/proc/246/oom_score_adj' Failed self-test Attempted: as_x86: /usr/bin/as ld_x86: /usr/bin/ld Errors: Traceback (most recent call last): File "/judge/dmoj/executors/base_executor.py", line 337, in run_self_test executor = cls(cls.test_name, utf8bytes(cls.test_program)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/judge/dmoj/executors/compiled_executor.py", line 63, in call obj.compile() File "/judge/dmoj/executors/asm_executor.py", line 67, in compile as_output, to_link = self.assemble() ^^^^^^^^^^^^^^^ File "/judge/dmoj/executors/asm_executor.py", line 63, in assemble as_output = self.get_compile_output(process) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/judge/dmoj/executors/compiled_executor.py", line 185, in get_compile_output output = safe_communicate(process, None, outlimit=limit, errlimit=limit)[self.compile_output_index] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/judge/dmoj/utils/communicate.py", line 100, in safe_communicate proc.wait() File "/judge/dmoj/cptbox/tracer.py", line 217, in wait raise RuntimeError( RuntimeError: failed to ptrace child, check Yama config (https://www.kernel.org/doc/Documentation/security/Yama.txt, should be at most 1); if running in Docker, must run container with --cap-add=SYS_PTRACE

ptrace: Operation not permitted Auto-configuring GAS64: Traceback (most recent call last): File "/judge/dmoj/cptbox/tracer.py", line 344, in _run_process oom_score_adj(OOM_SCORE_ADJ_MAX, self.pid) File "/judge/dmoj/utils/os_ext.py", line 16, in oom_score_adj with open(f'/proc/{"self" if to is None else to}/oom_score_adj', 'wb') as f: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ PermissionError: [Errno 13] Permission denied: '/proc/249/oom_score_adj' Failed self-test Attempted: as_x64: /usr/bin/x86_64-linux-gnu-as ld_x64: /usr/bin/x86_64-linux-gnu-ld Errors: Traceback (most recent call last): File "/judge/dmoj/executors/base_executor.py", line 337, in run_self_test executor = cls(cls.test_name, utf8bytes(cls.test_program)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/judge/dmoj/executors/compiled_executor.py", line 63, in call obj.compile() File "/judge/dmoj/executors/asm_executor.py", line 67, in compile as_output, to_link = self.assemble() ^^^^^^^^^^^^^^^ File "/judge/dmoj/executors/asm_executor.py", line 63, in assemble as_output = self.get_compile_output(process) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/judge/dmoj/executors/compiled_executor.py", line 185, in get_compile_output output = safe_communicate(process, None, outlimit=limit, errlimit=limit)[self.compile_output_index] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/judge/dmoj/utils/communicate.py", line 100, in safe_communicate proc.wait() File "/judge/dmoj/cptbox/tracer.py", line 217, in wait raise RuntimeError( RuntimeError: failed to ptrace child, check Yama config (https://www.kernel.org/doc/Documentation/security/Yama.txt, should be at most 1); if running in Docker, must run container with --cap-add=SYS_PTRACE

Auto-configuring GASARM: Unable to natively debug Auto-configuring GO: Failed to find "go" Auto-configuring GROOVY: Failed to find "groovyc" Auto-configuring HASK: Failed to find "ghc" Auto-configuring ICK: Failed to find "ick" Auto-configuring JAVA: Could not find JVM ptrace: Operation not permitted Auto-configuring JAVA8: Traceback (most recent call last): File "/judge/dmoj/cptbox/tracer.py", line 344, in _run_process oom_score_adj(OOM_SCORE_ADJ_MAX, self.pid) File "/judge/dmoj/utils/os_ext.py", line 16, in oom_score_adj with open(f'/proc/{"self" if to is None else to}/oom_score_adj', 'wb') as f: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ PermissionError: [Errno 13] Permission denied: '/proc/252/oom_score_adj' ptrace: Operation not permitted Traceback (most recent call last): File "/judge/dmoj/cptbox/tracer.py", line 344, in _run_process oom_score_adj(OOM_SCORE_ADJ_MAX, self.pid) File "/judge/dmoj/utils/os_ext.py", line 16, in oom_score_adj with open(f'/proc/{"self" if to is None else to}/oom_score_adj', 'wb') as f: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ PermissionError: [Errno 13] Permission denied: '/proc/255/oom_score_adj' ptrace: Operation not permitted Traceback (most recent call last): File "/judge/dmoj/cptbox/tracer.py", line 344, in _run_process oom_score_adj(OOM_SCORE_ADJ_MAX, self.pid) File "/judge/dmoj/utils/os_ext.py", line 16, in oom_score_adj with open(f'/proc/{"self" if to is None else to}/oom_score_adj', 'wb') as f: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ PermissionError: [Errno 13] Permission denied: '/proc/258/oom_score_adj' ptrace: Operation not permitted Traceback (most recent call last): File "/judge/dmoj/cptbox/tracer.py", line 344, in _run_process oom_score_adj(OOM_SCORE_ADJ_MAX, self.pid) File "/judge/dmoj/utils/os_ext.py", line 16, in oom_score_adj with open(f'/proc/{"self" if to is None else to}/oom_score_adj', 'wb') as f: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ PermissionError: [Errno 13] Permission denied: '/proc/261/oom_score_adj' Could not find JVM Auto-configuring KOTLIN: Failed to find "kotlinc" Auto-configuring LEAN4: Failed to find "lean" Auto-configuring LLC: Failed to find "llc" Auto-configuring LUA: Failed to find "lua" Auto-configuring MONOCS: Failed to find "mono-csc" Auto-configuring MONOFS: Failed to find "fsharpc" Auto-configuring MONOVB: Failed to find "mono-vbnc" Auto-configuring NASM: Failed to find "nasm" Auto-configuring NASM64: Failed to find "nasm" Auto-configuring NODEJS: Failed to find "node" Auto-configuring OBJC: Failed to find "gnustep-config" Attempted: gcc: /usr/bin/gcc Auto-configuring OCAML: Failed to find "ocamlfind" ptrace: Operation not permitted Auto-configuring PAS: Traceback (most recent call last): File "/judge/dmoj/cptbox/tracer.py", line 344, in _run_process oom_score_adj(OOM_SCORE_ADJ_MAX, self.pid) File "/judge/dmoj/utils/os_ext.py", line 16, in oom_score_adj with open(f'/proc/{"self" if to is None else to}/oom_score_adj', 'wb') as f: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ PermissionError: [Errno 13] Permission denied: '/proc/264/oom_score_adj' Failed self-test Attempted: fpc: /usr/bin/fpc Errors: Traceback (most recent call last): File "/judge/dmoj/executors/base_executor.py", line 337, in run_self_test executor = cls(cls.test_name, utf8bytes(cls.test_program)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/judge/dmoj/executors/compiled_executor.py", line 63, in call obj.compile() File "/judge/dmoj/executors/compiled_executor.py", line 212, in compile self.warning = self.get_compile_output(process) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/judge/dmoj/executors/PAS.py", line 31, in get_compile_output output = super().get_compile_output(process) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/judge/dmoj/executors/compiled_executor.py", line 185, in get_compile_output output = safe_communicate(process, None, outlimit=limit, errlimit=limit)[self.compile_output_index] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/judge/dmoj/utils/communicate.py", line 100, in safe_communicate proc.wait() File "/judge/dmoj/cptbox/tracer.py", line 217, in wait raise RuntimeError( RuntimeError: failed to ptrace child, check Yama config (https://www.kernel.org/doc/Documentation/security/Yama.txt, should be at most 1); if running in Docker, must run container with --cap-add=SYS_PTRACE

ptrace: Operation not permitted Auto-configuring PERL: Traceback (most recent call last): File "/judge/dmoj/cptbox/tracer.py", line 344, in _run_process oom_score_adj(OOM_SCORE_ADJ_MAX, self.pid) File "/judge/dmoj/utils/os_ext.py", line 16, in oom_score_adj with open(f'/proc/{"self" if to is None else to}/oom_score_adj', 'wb') as f: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ PermissionError: [Errno 13] Permission denied: '/proc/267/oom_score_adj' Failed self-test Attempted: perl: /usr/bin/perl Errors: Traceback (most recent call last): File "/judge/dmoj/executors/base_executor.py", line 343, in run_self_test stdout, stderr = proc.communicate(test_message + b'\n') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/judge/dmoj/utils/communicate.py", line 100, in safe_communicate proc.wait() File "/judge/dmoj/cptbox/tracer.py", line 217, in wait raise RuntimeError( RuntimeError: failed to ptrace child, check Yama config (https://www.kernel.org/doc/Documentation/security/Yama.txt, should be at most 1); if running in Docker, must run container with --cap-add=SYS_PTRACE

Auto-configuring PHP: Failed to find "php" Auto-configuring PIKE: Failed to find "pike" Auto-configuring PRO: Failed to find "swipl" ptrace: Operation not permitted Auto-configuring PY2: Traceback (most recent call last): File "/judge/dmoj/cptbox/tracer.py", line 344, in _run_process oom_score_adj(OOM_SCORE_ADJ_MAX, self.pid) File "/judge/dmoj/utils/os_ext.py", line 16, in oom_score_adj with open(f'/proc/{"self" if to is None else to}/oom_score_adj', 'wb') as f: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ PermissionError: [Errno 13] Permission denied: '/proc/270/oom_score_adj' Failed self-test Attempted: python: /usr/bin/python2.7 Errors: Traceback (most recent call last): File "/judge/dmoj/executors/base_executor.py", line 337, in run_self_test executor = cls(cls.test_name, utf8bytes(cls.test_program)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/judge/dmoj/executors/compiled_executor.py", line 63, in call obj.compile() File "/judge/dmoj/executors/compiled_executor.py", line 212, in compile self.warning = self.get_compile_output(process) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/judge/dmoj/executors/compiled_executor.py", line 185, in get_compile_output output = safe_communicate(process, None, outlimit=limit, errlimit=limit)[self.compile_output_index] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/judge/dmoj/utils/communicate.py", line 100, in safe_communicate proc.wait() File "/judge/dmoj/cptbox/tracer.py", line 217, in wait raise RuntimeError( RuntimeError: failed to ptrace child, check Yama config (https://www.kernel.org/doc/Documentation/security/Yama.txt, should be at most 1); if running in Docker, must run container with --cap-add=SYS_PTRACE

ptrace: Operation not permitted Auto-configuring PY3: Traceback (most recent call last): File "/judge/dmoj/cptbox/tracer.py", line 344, in _run_process oom_score_adj(OOM_SCORE_ADJ_MAX, self.pid) File "/judge/dmoj/utils/os_ext.py", line 16, in oom_score_adj with open(f'/proc/{"self" if to is None else to}/oom_score_adj', 'wb') as f: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ PermissionError: [Errno 13] Permission denied: '/proc/273/oom_score_adj' Failed self-test Attempted: python3: /usr/bin/python3 Errors: Traceback (most recent call last): File "/judge/dmoj/executors/base_executor.py", line 337, in run_self_test executor = cls(cls.test_name, utf8bytes(cls.test_program)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/judge/dmoj/executors/compiled_executor.py", line 63, in call obj.compile() File "/judge/dmoj/executors/compiled_executor.py", line 212, in compile self.warning = self.get_compile_output(process) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/judge/dmoj/executors/compiled_executor.py", line 185, in get_compile_output output = safe_communicate(process, None, outlimit=limit, errlimit=limit)[self.compile_output_index] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/judge/dmoj/utils/communicate.py", line 100, in safe_communicate proc.wait() File "/judge/dmoj/cptbox/tracer.py", line 217, in wait raise RuntimeError( RuntimeError: failed to ptrace child, check Yama config (https://www.kernel.org/doc/Documentation/security/Yama.txt, should be at most 1); if running in Docker, must run container with --cap-add=SYS_PTRACE

Auto-configuring PYPY: Failed to find "pypy" Auto-configuring PYPY3: Failed to find "pypy3" Auto-configuring RKT: Failed to find "racket" Auto-configuring RUBY: Failed to find "ruby" Auto-configuring RUST: Failed to find "cargo" Auto-configuring SBCL: Failed to find "sbcl" Auto-configuring SCALA: Failed to find "scalac" Auto-configuring SCM: Failed to find "chicken-csc" ptrace: Operation not permitted Auto-configuring SED: Traceback (most recent call last): File "/judge/dmoj/cptbox/tracer.py", line 344, in _run_process oom_score_adj(OOM_SCORE_ADJ_MAX, self.pid) File "/judge/dmoj/utils/os_ext.py", line 16, in oom_score_adj with open(f'/proc/{"self" if to is None else to}/oom_score_adj', 'wb') as f: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ PermissionError: [Errno 13] Permission denied: '/proc/276/oom_score_adj' Failed self-test Attempted: sed: /usr/bin/sed Errors: Traceback (most recent call last): File "/judge/dmoj/executors/base_executor.py", line 343, in run_self_test stdout, stderr = proc.communicate(test_message + b'\n') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/judge/dmoj/utils/communicate.py", line 100, in safe_communicate proc.wait() File "/judge/dmoj/cptbox/tracer.py", line 217, in wait raise RuntimeError( RuntimeError: failed to ptrace child, check Yama config (https://www.kernel.org/doc/Documentation/security/Yama.txt, should be at most 1); if running in Docker, must run container with --cap-add=SYS_PTRACE

Auto-configuring SWIFT: Failed to find "swiftc" Auto-configuring TCL: Failed to find "tclsh" ptrace: Operation not permitted Auto-configuring TEXT: Traceback (most recent call last): File "/judge/dmoj/cptbox/tracer.py", line 344, in _run_process oom_score_adj(OOM_SCORE_ADJ_MAX, self.pid) File "/judge/dmoj/utils/os_ext.py", line 16, in oom_score_adj with open(f'/proc/{"self" if to is None else to}/oom_score_adj', 'wb') as f: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ PermissionError: [Errno 13] Permission denied: '/proc/279/oom_score_adj' Failed self-test Attempted: cat: /usr/bin/cat Errors: Traceback (most recent call last): File "/judge/dmoj/executors/base_executor.py", line 343, in run_self_test stdout, stderr = proc.communicate(test_message + b'\n') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/judge/dmoj/utils/communicate.py", line 100, in safe_communicate proc.wait() File "/judge/dmoj/cptbox/tracer.py", line 217, in wait raise RuntimeError( RuntimeError: failed to ptrace child, check Yama config (https://www.kernel.org/doc/Documentation/security/Yama.txt, should be at most 1); if running in Docker, must run container with --cap-add=SYS_PTRACE

Auto-configuring TUR: Failed to find "tprolog" Auto-configuring V8JS: Failed to find "v8dmoj" Auto-configuring ZIG: Failed to find "zig" No runtimes configured. --> cd715fe52e1 STEP 4/4: ENTRYPOINT ["/usr/bin/tini", "--", "/judge/.docker/entry"] COMMIT dmoj/judge-tier1 --> 12edb739a85 Successfully tagged localhost/dmoj/judge-tier1:latest 12edb739a856e47e7d6ea91fb45bb401329461663bbd281d037eb700e6a8aea9`

Any suggestion?