Comments (4)
So having done that, we realised that the passed in paths for python3 to the run command were not exactly correct 😅 updating that fixed our issue. Thanks!
from code_contests.
It looks like it's making a syscall that the sandbox doesn't allow. Does it work if you explicitly add that syscall to what's allowed by the sandbox? Adding builder.AllowSyscall(__NR_arch_prctl);
to here and here.
from code_contests.
This seems to make that specific error go away, however we are now running into a separate issue where the compilation fails for all three examples without any error message:
We will try to solve "Gregor and Cryptography":
https://codeforces.com/problemset/problem/1549/A
We will run:
1. A program that does not compile.
2. A program that runs successfully, but gives the wrong answer sometimes.
3. A correct solution.
--------------------------------------------------------------------------------
An invalid program is reported as not compiling:
[global_forkclient.cc : 122] RAW: Starting global forkserver
Compilation failed
--------------------------------------------------------------------------------
The bad solution passes a few tests but then fails.
Because we set stop_on_first_failure to True, we stop once we see a failure.
We are running on 4 threads, so it's possible that more than one failure occurs
before all threads stop.
Compilation failed
--------------------------------------------------------------------------------
The good solution passes all tests.
Compilation failed
The syscall was added to both specified locations with everything else being kept as is
from code_contests.
Ok, can you print out more information to where it prints compilation failed here? In particular, multi_result.compilation_result.stdout
and multi_result.compilation_result.stderr
.
from code_contests.
Related Issues (20)
- Is there any plan to release C++ test sandbox? HOT 2
- Failed: Gregor and Cryptography problem not found. Did you pass the validation dataset? HOT 2
- Auto-Configuration Error when run Bazel HOT 3
- Some test solutions do not return outputs in sandbox running, while they output successfully on CLI. HOT 1
- bazel building error on grpc dependency when using Python 3.10 HOT 2
- SANDBOX VIOLATION HOT 2
- Compilation error when using gcc versions {7,9,10,11} HOT 1
- Compilation error when using gcc versions {7,9} HOT 1
- Problem with getting data from riegeli files when not using bazel and trying to run print_names_and_sources.py directly HOT 2
- License of data usage HOT 1
- Can't compile with clang 14 and gcc 12 HOT 1
- AlphaCode Model Implementation Questions
- Executing and evaluating solutions 3x Compilation failure with many python versions HOT 2
- Executing fail in linux docker HOT 1
- Details of codeforces generated tests HOT 1
- How to compile C++ programs?
- Dataset Unavailable HOT 1
- Dataset Update. AlphaCode 2 HOT 2
- Validation setup
- zlib checksum error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from code_contests.