There is no useful configurable file size limit for netlab, allowing
the job to eat up all the disk. Thus we limit it directly in the script
by setting ulimit -f to 1G.
- ln -s $STAYRTR_BINARY netlab/common/stayrtr
- cd netlab
- sudo ./stop
+ - ulimit -f 1048576 # Protect the filesystem from overflowing by log bloat
- sudo ./runtest -s v2 -m check $TEST_NAME
after_script:
- DIR=$(pwd)
- ln -s $STAYRTR_BINARY netlab/common/stayrtr
- cd netlab
- sudo ./stop
+ - ulimit -f 1048576 # Protect the filesystem from overflowing by log bloat
- sudo ./runtest -s v2 -m check $TEST_NAME
after_script:
- DIR=$(pwd)