]> iEval git - gruntmaster-daemon.git/log
gruntmaster-daemon.git
9 years agoImprove Interactive runner
Marius Gavrilescu [Wed, 5 Aug 2015 13:21:30 +0000 (16:21 +0300)]
Improve Interactive runner

9 years agoPut /dev/ttyS1 into raw mode in ex/makevm
Marius Gavrilescu [Wed, 29 Jul 2015 15:45:21 +0000 (18:45 +0300)]
Put /dev/ttyS1 into raw mode in ex/makevm

9 years agoTest pipes when running interactive programs before executing them
Marius Gavrilescu [Wed, 29 Jul 2015 11:32:10 +0000 (14:32 +0300)]
Test pipes when running interactive programs before executing them

This is relevant for VM users, as the pipes used by QEMU do not work
at the beginning (all data sent to them is silently discarded).

9 years agoStart gruntmaster-exec alarm just before exec
Marius Gavrilescu [Wed, 29 Jul 2015 11:29:42 +0000 (14:29 +0300)]
Start gruntmaster-exec alarm just before exec

This way, a part of the time needed for setup (forking, opening files,
setting limits) no longer counts against the time limit.

9 years agoAdd an optional compilation cache
Marius Gavrilescu [Fri, 8 May 2015 08:09:46 +0000 (11:09 +0300)]
Add an optional compilation cache

9 years agoDo not depend on bash logout and pass -n to poweroff (9p is sync,dirsync)
Marius Gavrilescu [Thu, 7 May 2015 16:49:12 +0000 (19:49 +0300)]
Do not depend on bash logout and pass -n to poweroff (9p is sync,dirsync)

9 years agoEnable binfmt_misc and do not use fstab
Marius Gavrilescu [Mon, 27 Apr 2015 20:06:05 +0000 (23:06 +0300)]
Enable binfmt_misc and do not use fstab

9 years agoFix previous commit
Marius Gavrilescu [Mon, 27 Apr 2015 16:42:54 +0000 (19:42 +0300)]
Fix previous commit

9 years agoMount /proc in VM and fix warning
Marius Gavrilescu [Mon, 27 Apr 2015 16:35:44 +0000 (19:35 +0300)]
Mount /proc in VM and fix warning

9 years agoAdd ruby and sbcl packages
Marius Gavrilescu [Mon, 27 Apr 2015 16:26:59 +0000 (19:26 +0300)]
Add ruby and sbcl packages

9 years agoAlso mount /tmp as tmpfs in VM
Marius Gavrilescu [Mon, 27 Apr 2015 16:20:59 +0000 (19:20 +0300)]
Also mount /tmp as tmpfs in VM

9 years agoImprove VM support
Marius Gavrilescu [Mon, 27 Apr 2015 15:16:11 +0000 (18:16 +0300)]
Improve VM support

9 years agoDefault Verifier/Interactive result to 'Ok'
Marius Gavrilescu [Fri, 10 Apr 2015 16:28:56 +0000 (19:28 +0300)]
Default Verifier/Interactive result to 'Ok'

9 years agoOnly use pretests when contests are running
Marius Gavrilescu [Wed, 25 Mar 2015 18:28:35 +0000 (20:28 +0200)]
Only use pretests when contests are running

9 years agoAdd GolfScript
Marius Gavrilescu [Sun, 22 Mar 2015 21:19:05 +0000 (23:19 +0200)]
Add GolfScript

9 years agoAdd limit overrides
Marius Gavrilescu [Mon, 16 Mar 2015 15:21:42 +0000 (17:21 +0200)]
Add limit overrides

9 years agoInclude verifier stdout in non-Accepted results
Marius Gavrilescu [Wed, 11 Mar 2015 21:33:46 +0000 (23:33 +0200)]
Include verifier stdout in non-Accepted results

9 years agoIgnore SIGPIPE *only* for user programs
Marius Gavrilescu [Wed, 11 Mar 2015 20:51:03 +0000 (22:51 +0200)]
Ignore SIGPIPE *only* for user programs

9 years agoDo not ignore SIGPIPE for user programs
Marius Gavrilescu [Wed, 11 Mar 2015 20:43:21 +0000 (22:43 +0200)]
Do not ignore SIGPIPE for user programs

9 years agoDo not use removed functions
Marius Gavrilescu [Tue, 10 Mar 2015 10:37:41 +0000 (12:37 +0200)]
Do not use removed functions

9 years agoFix 'requires multiple processes' check in test suite
Marius Gavrilescu [Mon, 9 Mar 2015 09:19:59 +0000 (11:19 +0200)]
Fix 'requires multiple processes' check in test suite

9 years agoAdd ruby test
Marius Gavrilescu [Mon, 9 Mar 2015 09:14:51 +0000 (11:14 +0200)]
Add ruby test

9 years agoAdd ruby
Marius Gavrilescu [Mon, 9 Mar 2015 08:55:54 +0000 (10:55 +0200)]
Add ruby

9 years agoSet oom_score_adj to 900 in gruntmaster-exec
Marius Gavrilescu [Sun, 8 Mar 2015 17:38:38 +0000 (19:38 +0200)]
Set oom_score_adj to 900 in gruntmaster-exec

9 years agoTreat SBCL files as scripts
Marius Gavrilescu [Sat, 14 Feb 2015 16:49:21 +0000 (18:49 +0200)]
Treat SBCL files as scripts

9 years agoAdd SBCL
Marius Gavrilescu [Sat, 14 Feb 2015 16:18:53 +0000 (18:18 +0200)]
Add SBCL

9 years agoAlso remove unused File::Basename
Marius Gavrilescu [Sat, 14 Feb 2015 13:28:45 +0000 (15:28 +0200)]
Also remove unused File::Basename

9 years agoRemove useless constant PAGE_SIZE
Marius Gavrilescu [Sat, 14 Feb 2015 13:27:39 +0000 (15:27 +0200)]
Remove useless constant PAGE_SIZE

9 years agoAdd pretest support (untested)
Marius Gavrilescu [Sat, 14 Feb 2015 07:54:37 +0000 (09:54 +0200)]
Add pretest support (untested)

9 years agoAdd -lm to C and CPP compilation commands
Marius Gavrilescu [Wed, 11 Feb 2015 13:24:44 +0000 (15:24 +0200)]
Add -lm to C and CPP compilation commands

9 years agoRe-add multiple daemon support
Marius Gavrilescu [Mon, 9 Feb 2015 08:00:06 +0000 (10:00 +0200)]
Re-add multiple daemon support

9 years agoImprove test names
Marius Gavrilescu [Sun, 8 Feb 2015 15:04:16 +0000 (17:04 +0200)]
Improve test names

9 years agoFix undef warning during testing
Marius Gavrilescu [Sun, 8 Feb 2015 15:04:03 +0000 (17:04 +0200)]
Fix undef warning during testing

9 years agoSkip JAVA/GOLANG/GCCGO if sudo is not used and improve TODO handling
Marius Gavrilescu [Sun, 8 Feb 2015 14:43:15 +0000 (16:43 +0200)]
Skip JAVA/GOLANG/GCCGO if sudo is not used and improve TODO handling

9 years agoRename --no-close to --keep-stderr and make it only preserve stderr
Marius Gavrilescu [Sun, 8 Feb 2015 14:29:15 +0000 (16:29 +0200)]
Rename --no-close to --keep-stderr and make it only preserve stderr

9 years agoMake perlcritic only look in lib (to avoid checking scripts)
Marius Gavrilescu [Sun, 8 Feb 2015 14:23:45 +0000 (16:23 +0200)]
Make perlcritic only look in lib (to avoid checking scripts)

9 years agoSplit database-related work from process to another sub
Marius Gavrilescu [Sun, 8 Feb 2015 14:23:17 +0000 (16:23 +0200)]
Split database-related work from process to another sub

9 years agoDon't check mkrun_runner arguments for definedness twice
Marius Gavrilescu [Sun, 8 Feb 2015 14:11:44 +0000 (16:11 +0200)]
Don't check mkrun_runner arguments for definedness twice

9 years agoAdd some uncoverable directives
Marius Gavrilescu [Sun, 8 Feb 2015 14:06:41 +0000 (16:06 +0200)]
Add some uncoverable directives

9 years agoAdd some tests with invalid jobs
Marius Gavrilescu [Sun, 8 Feb 2015 13:27:29 +0000 (15:27 +0200)]
Add some tests with invalid jobs

9 years agoGet rid of safe_can_nodie
Marius Gavrilescu [Sun, 8 Feb 2015 12:45:10 +0000 (14:45 +0200)]
Get rid of safe_can_nodie

9 years agoAllow java jobs to have multiple classes
Marius Gavrilescu [Sat, 7 Feb 2015 14:40:49 +0000 (16:40 +0200)]
Allow java jobs to have multiple classes

9 years agoRename the --nobody argument to --sudo
Marius Gavrilescu [Sat, 7 Feb 2015 11:54:38 +0000 (13:54 +0200)]
Rename the --nobody argument to --sudo

9 years agoUse sudo in VM
Marius Gavrilescu [Sat, 7 Feb 2015 11:47:09 +0000 (13:47 +0200)]
Use sudo in VM

9 years agoUpdate default timeout to 10 seconds
Marius Gavrilescu [Sat, 7 Feb 2015 11:00:48 +0000 (13:00 +0200)]
Update default timeout to 10 seconds

9 years agoDo not fork/exec in gruntmaster-compile
Marius Gavrilescu [Sat, 7 Feb 2015 11:00:15 +0000 (13:00 +0200)]
Do not fork/exec in gruntmaster-compile

9 years agoRemove -fabi-version from g++ compile command
Marius Gavrilescu [Sat, 7 Feb 2015 10:58:07 +0000 (12:58 +0200)]
Remove -fabi-version from g++ compile command

9 years agoUse problem->is_private instead of problem->private
Marius Gavrilescu [Fri, 6 Feb 2015 14:36:44 +0000 (16:36 +0200)]
Use problem->is_private instead of problem->private

9 years agoReturn NZX for return codes above 128+32
Marius Gavrilescu [Fri, 6 Feb 2015 09:23:04 +0000 (11:23 +0200)]
Return NZX for return codes above 128+32

9 years agoUpdate test suite for previous commit
Marius Gavrilescu [Thu, 5 Feb 2015 19:56:35 +0000 (21:56 +0200)]
Update test suite for previous commit

9 years agoAdd an explanation to compile errors
Marius Gavrilescu [Thu, 5 Feb 2015 19:52:41 +0000 (21:52 +0200)]
Add an explanation to compile errors

9 years agoPrevent extraneous empty lines in compiler output
Marius Gavrilescu [Tue, 3 Feb 2015 18:51:54 +0000 (20:51 +0200)]
Prevent extraneous empty lines in compiler output

9 years agoIncrease RLIMIT_NPROC to 15 to appease Java
Marius Gavrilescu [Tue, 3 Feb 2015 16:21:11 +0000 (18:21 +0200)]
Increase RLIMIT_NPROC to 15 to appease Java

9 years agoPrint debug information in gruntmaster-exec only when needed
Marius Gavrilescu [Tue, 3 Feb 2015 16:20:06 +0000 (18:20 +0200)]
Print debug information in gruntmaster-exec only when needed

9 years agoDisable mlimit when running under sudo
Marius Gavrilescu [Tue, 3 Feb 2015 16:15:51 +0000 (18:15 +0200)]
Disable mlimit when running under sudo

9 years agoMake sure work directory is world-searchable
Marius Gavrilescu [Tue, 3 Feb 2015 13:42:58 +0000 (15:42 +0200)]
Make sure work directory is world-searchable

9 years agoOnly run "untrusted" programs under sudo
Marius Gavrilescu [Tue, 3 Feb 2015 13:40:37 +0000 (15:40 +0200)]
Only run "untrusted" programs under sudo

9 years agoSupport passing arguments to programs in Format.pm
Marius Gavrilescu [Tue, 3 Feb 2015 12:13:38 +0000 (14:13 +0200)]
Support passing arguments to programs in Format.pm

9 years agoFix generator for square test problem
Marius Gavrilescu [Tue, 3 Feb 2015 12:08:39 +0000 (14:08 +0200)]
Fix generator for square test problem

9 years agoAdd support for sudo
Marius Gavrilescu [Mon, 2 Feb 2015 21:56:57 +0000 (23:56 +0200)]
Add support for sudo

9 years agoPass --no-close to gruntmaster-exec when TEST_VERBOSE is true
Marius Gavrilescu [Mon, 2 Feb 2015 21:56:22 +0000 (23:56 +0200)]
Pass --no-close to gruntmaster-exec when TEST_VERBOSE is true

9 years agoMark memory limit exceeded test as TODO
Marius Gavrilescu [Mon, 2 Feb 2015 21:55:56 +0000 (23:55 +0200)]
Mark memory limit exceeded test as TODO

9 years agoConnect to $ENV{GRUNTMASTER_DSN} if defined
Marius Gavrilescu [Fri, 30 Jan 2015 12:05:12 +0000 (14:05 +0200)]
Connect to $ENV{GRUNTMASTER_DSN} if defined

9 years agoLimit user programs to one process
Marius Gavrilescu [Fri, 30 Jan 2015 11:57:56 +0000 (13:57 +0200)]
Limit user programs to one process

9 years agoAlways compile to $basename
Marius Gavrilescu [Fri, 30 Jan 2015 11:26:57 +0000 (13:26 +0200)]
Always compile to $basename

9 years agoRename testing tempdir
Marius Gavrilescu [Fri, 30 Jan 2015 10:26:41 +0000 (12:26 +0200)]
Rename testing tempdir

9 years agoUse getcwd instead of cwd
Marius Gavrilescu [Fri, 30 Jan 2015 10:26:00 +0000 (12:26 +0200)]
Use getcwd instead of cwd

9 years agoSwitch to YAML::Tiny in tests
Marius Gavrilescu [Tue, 27 Jan 2015 10:13:29 +0000 (12:13 +0200)]
Switch to YAML::Tiny in tests

9 years agoRun user programs as nobody:nogroup
Marius Gavrilescu [Sun, 25 Jan 2015 19:48:59 +0000 (21:48 +0200)]
Run user programs as nobody:nogroup

9 years agoAdd hello world tests for all languages (enabled when RELEASE_TESTING is true)
Marius Gavrilescu [Sun, 25 Jan 2015 15:43:40 +0000 (17:43 +0200)]
Add hello world tests for all languages (enabled when RELEASE_TESTING is true)

9 years agoInclude fpc in package list in ex/vm.conf
Marius Gavrilescu [Sun, 25 Jan 2015 15:40:30 +0000 (17:40 +0200)]
Include fpc in package list in ex/vm.conf

9 years agoMount /proc inside chroot in ex/makevm to fix openjdk configuration
Marius Gavrilescu [Sun, 25 Jan 2015 15:40:04 +0000 (17:40 +0200)]
Mount /proc inside chroot in ex/makevm to fix openjdk configuration

9 years agoMake gruntmaster-compile fail if it cannot exec the compiler
Marius Gavrilescu [Sun, 25 Jan 2015 13:44:10 +0000 (15:44 +0200)]
Make gruntmaster-compile fail if it cannot exec the compiler

9 years agoConvert all test programs from CPP to C
Marius Gavrilescu [Sun, 25 Jan 2015 12:08:40 +0000 (14:08 +0200)]
Convert all test programs from CPP to C

9 years agoRemove purges (as they are now unnecessary)
Marius Gavrilescu [Sun, 25 Jan 2015 11:53:27 +0000 (13:53 +0200)]
Remove purges (as they are now unnecessary)

9 years agoMount a tmpfs at /tmp in ex/makevm to appease ghc
Marius Gavrilescu [Sun, 25 Jan 2015 09:20:47 +0000 (11:20 +0200)]
Mount a tmpfs at /tmp in ex/makevm to appease ghc

9 years agoOnly update problem statuses for non-private problems
Marius Gavrilescu [Sat, 24 Jan 2015 11:53:59 +0000 (13:53 +0200)]
Only update problem statuses for non-private problems

9 years agoChange gruntmaster-exec setuid user/group in ex/makevm
Marius Gavrilescu [Fri, 23 Jan 2015 19:15:26 +0000 (21:15 +0200)]
Change gruntmaster-exec setuid user/group in ex/makevm

9 years agoImport purge from Gruntmaster::Data
Marius Gavrilescu [Fri, 23 Jan 2015 18:38:54 +0000 (20:38 +0200)]
Import purge from Gruntmaster::Data

9 years agoSet umask to 0022 in tests
Marius Gavrilescu [Fri, 23 Jan 2015 18:38:15 +0000 (20:38 +0200)]
Set umask to 0022 in tests

9 years agoUse install instead of cp to ensure 0755 perms in makevm
Marius Gavrilescu [Fri, 23 Jan 2015 17:38:45 +0000 (19:38 +0200)]
Use install instead of cp to ensure 0755 perms in makevm

9 years agoUpdate package list in vm.conf
Marius Gavrilescu [Fri, 23 Jan 2015 16:02:22 +0000 (18:02 +0200)]
Update package list in vm.conf

9 years agoFix makevm
Marius Gavrilescu [Fri, 23 Jan 2015 15:35:40 +0000 (17:35 +0200)]
Fix makevm

9 years agoMake test tempdir world-writable
Marius Gavrilescu [Fri, 23 Jan 2015 15:32:10 +0000 (17:32 +0200)]
Make test tempdir world-writable

9 years agoPrepend cwd to PATH instead of appending it in t/01-jobs.t
Marius Gavrilescu [Fri, 23 Jan 2015 15:31:21 +0000 (17:31 +0200)]
Prepend cwd to PATH instead of appending it in t/01-jobs.t

9 years agoAlso trace commands executed outside VM
Marius Gavrilescu [Fri, 23 Jan 2015 15:25:06 +0000 (17:25 +0200)]
Also trace commands executed outside VM

9 years agoAdd a --no-close argument to gruntmaster-exec
Marius Gavrilescu [Fri, 23 Jan 2015 15:22:12 +0000 (17:22 +0200)]
Add a --no-close argument to gruntmaster-exec

9 years agoMove vm scripts to ex/
Marius Gavrilescu [Thu, 22 Jan 2015 22:20:36 +0000 (00:20 +0200)]
Move vm scripts to ex/

9 years agoUpdate MANIFEST
Marius Gavrilescu [Thu, 22 Jan 2015 22:19:39 +0000 (00:19 +0200)]
Update MANIFEST

9 years agoAdd perlcritic test and make code comply
Marius Gavrilescu [Thu, 22 Jan 2015 22:18:09 +0000 (00:18 +0200)]
Add perlcritic test and make code comply

9 years agoIncrease time limit of increment test problem
Marius Gavrilescu [Thu, 22 Jan 2015 21:58:57 +0000 (23:58 +0200)]
Increase time limit of increment test problem

9 years agoFix test problem names
Marius Gavrilescu [Thu, 22 Jan 2015 21:52:33 +0000 (23:52 +0200)]
Fix test problem names

9 years agoAdd virtual machine support
Marius Gavrilescu [Thu, 22 Jan 2015 21:50:50 +0000 (23:50 +0200)]
Add virtual machine support

9 years agoDrop privileges in gruntmaster-exec if possible
Marius Gavrilescu [Thu, 22 Jan 2015 21:48:23 +0000 (23:48 +0200)]
Drop privileges in gruntmaster-exec if possible

9 years agoDo not load Gruntmaster::Data if not needed
Marius Gavrilescu [Thu, 22 Jan 2015 21:41:16 +0000 (23:41 +0200)]
Do not load Gruntmaster::Data if not needed

9 years agoImprove test directory naming
Marius Gavrilescu [Thu, 22 Jan 2015 21:26:26 +0000 (23:26 +0200)]
Improve test directory naming

9 years agoRename t/problems/increment/int.cpp to ver.cpp
Marius Gavrilescu [Thu, 22 Jan 2015 21:24:44 +0000 (23:24 +0200)]
Rename t/problems/increment/int.cpp to ver.cpp

9 years agoMove some Format.pm code to gruntmaster-exec
Marius Gavrilescu [Mon, 19 Jan 2015 08:39:20 +0000 (10:39 +0200)]
Move some Format.pm code to gruntmaster-exec

9 years agoFix test failure introduced several commits ago
Marius Gavrilescu [Sat, 10 Jan 2015 18:39:10 +0000 (20:39 +0200)]
Fix test failure introduced several commits ago

9 years agoSet test log level to TRACE when TEST_VERBOSE is true
Marius Gavrilescu [Sat, 10 Jan 2015 18:37:25 +0000 (20:37 +0200)]
Set test log level to TRACE when TEST_VERBOSE is true

This page took 0.060441 seconds and 4 git commands to generate.