checker
1Running with gitlab-runner 15.5.0 (0d4137b8)2 on so-runner gAYz6MNw4Using Docker executor with image gitlab.cs.pub.ro:5050/operating-systems/assignment-mini-shell ...5Starting service docker:19.03.12-dind ...6Pulling docker image docker:19.03.12-dind ...7Using docker image sha256:66dc2d45749a48592f4348fb3d567bdd65c9dbd5402a413b6d169619e32f6bd2 for docker:19.03.12-dind with digest docker@sha256:674f1f40ff7c8ac14f5d8b6b28d8fb1f182647ff75304d018003f1e21a0d8771 ...8Waiting for services to be up and running (timeout 30 seconds)...9Authenticating with credentials from job payload (GitLab Registry)10Pulling docker image gitlab.cs.pub.ro:5050/operating-systems/assignment-mini-shell ...11Using docker image sha256:390f3f6fc2f095a531cf93f6ad3885217a94b3fb24aadfc485fab2a71315c494 for gitlab.cs.pub.ro:5050/operating-systems/assignment-mini-shell with digest gitlab.cs.pub.ro:5050/operating-systems/assignment-mini-shell@sha256:24fc7f15cb13ff069cc660edc1fe7b89893e857c2361c341d994e26687c78864 ...13Running on runner-gayz6mnw-project-6248-concurrent-0 via sw-gitlab-runner.grid.pub.ro...15Fetching changes with git depth set to 20...16Reinitialized existing Git repository in /builds/operating-systems/assignment-mini-shell/.git/17Checking out 124e123d as master...18Removing src/cmd.o19Removing src/main.o20Removing src/mini-shell21Removing src/utils.o22Removing tests/_test/outputs/23Removing tests/mini-shell24Removing util/parser/CUseParser25Removing util/parser/CUseParser.o26Removing util/parser/DisplayStructure27Removing util/parser/DisplayStructure.o28Removing util/parser/UseParser29Removing util/parser/UseParser.o30Removing util/parser/parser.tab.c31Removing util/parser/parser.tab.h32Removing util/parser/parser.tab.o33Removing util/parser/parser.yy.c34Removing util/parser/parser.yy.o35Skipping Git submodules setup37Using docker image sha256:390f3f6fc2f095a531cf93f6ad3885217a94b3fb24aadfc485fab2a71315c494 for gitlab.cs.pub.ro:5050/operating-systems/assignment-mini-shell with digest gitlab.cs.pub.ro:5050/operating-systems/assignment-mini-shell@sha256:24fc7f15cb13ff069cc660edc1fe7b89893e857c2361c341d994e26687c78864 ...38<VMCK_NEXT_BEGIN>39### RUNING CHECKER40make -C ../src UTIL_PATH=/builds/operating-systems/assignment-mini-shell/tests/../util clean41make[1]: Entering directory '/builds/operating-systems/assignment-mini-shell/src'42rm -f ../src.zip43rm -rf main.o cmd.o utils.o /builds/operating-systems/assignment-mini-shell/tests/../util/parser/parser.tab.o /builds/operating-systems/assignment-mini-shell/tests/../util/parser/parser.yy.o mini-shell *~44make[1]: Leaving directory '/builds/operating-systems/assignment-mini-shell/src'45make clean46make[1]: Entering directory '/builds/operating-systems/assignment-mini-shell/tests'47rm -f *~48make[1]: Leaving directory '/builds/operating-systems/assignment-mini-shell/tests'49make -i SRC_PATH=../src50make[1]: Entering directory '/builds/operating-systems/assignment-mini-shell/tests'51make -C ../src UTIL_PATH=/builds/operating-systems/assignment-mini-shell/tests/../util CPPFLAGS=-I/builds/operating-systems/assignment-mini-shell/tests/../src52make[2]: Entering directory '/builds/operating-systems/assignment-mini-shell/src'53make -C /builds/operating-systems/assignment-mini-shell/tests/../util/parser/54make[3]: Entering directory '/builds/operating-systems/assignment-mini-shell/util/parser'55bison parser.y56flex -oparser.yy.c parser.l57g++ -c UseParser.cpp58gcc -c parser.tab.c59gcc -c parser.yy.c60g++ -o UseParser UseParser.o parser.tab.o parser.yy.o61g++ -c DisplayStructure.cpp62g++ -o DisplayStructure DisplayStructure.o parser.tab.o parser.yy.o63gcc -c CUseParser.c64g++ -o CUseParser CUseParser.o parser.tab.o parser.yy.o65make[3]: Leaving directory '/builds/operating-systems/assignment-mini-shell/util/parser'66gcc -g -Wall -I/builds/operating-systems/assignment-mini-shell/tests/../src -c -o main.o main.c67gcc -g -Wall -I/builds/operating-systems/assignment-mini-shell/tests/../src -c -o cmd.o cmd.c68cmd.c:75:13: warning: 'run_on_pipe' defined but not used [-Wunused-function]69 75 | static bool run_on_pipe(command_t *cmd1, command_t *cmd2, int level,70 | ^~~~~~~~~~~71cmd.c:64:13: warning: 'run_in_parallel' defined but not used [-Wunused-function]72 64 | static bool run_in_parallel(command_t *cmd1, command_t *cmd2, int level,73 | ^~~~~~~~~~~~~~~74cmd.c:40:12: warning: 'parse_simple' defined but not used [-Wunused-function]75 40 | static int parse_simple(simple_command_t *s, int level, command_t *father)76 | ^~~~~~~~~~~~77cmd.c:29:12: warning: 'shell_exit' defined but not used [-Wunused-function]78 29 | static int shell_exit(void)79 | ^~~~~~~~~~80cmd.c:19:13: warning: 'shell_cd' defined but not used [-Wunused-function]81 19 | static bool shell_cd(word_t *dir)82 | ^~~~~~~~83gcc -g -Wall -I/builds/operating-systems/assignment-mini-shell/tests/../src -c -o utils.o utils.c84gcc -g -Wall main.o cmd.o utils.o /builds/operating-systems/assignment-mini-shell/tests/../util/parser/parser.tab.o /builds/operating-systems/assignment-mini-shell/tests/../util/parser/parser.yy.o -o mini-shell85make[2]: Leaving directory '/builds/operating-systems/assignment-mini-shell/src'86make[1]: Leaving directory '/builds/operating-systems/assignment-mini-shell/tests'87SRC_PATH=../src ./run_all.sh88 = Testing - mini-shell =8901) Testing commands without arguments......................failed [ 0/100]9002) Testing commands with arguments.........................failed [ 0/100]9103) Testing simple redirect operators.......................failed [ 0/100]9204) Testing append redirect operators.......................failed [ 0/100]9305) Testing current directory...............................failed [ 0/100]9406) Testing conditional operators...........................failed [ 0/100]9507) Testing sequential commands.............................failed [ 0/100]9608) Testing environment variables...........................failed [ 0/100]9709) Testing single pipe.....................................failed [ 0/100]9810) Testing multiple pipes..................................failed [ 0/100]9911) Testing variables and redirect..........................failed [ 0/100]10012) Testing overwritten variables...........................failed [ 0/100]10113) Testing all operators...................................failed [ 0/100]10214) Testing parallel operator...............................failed [ 0/100]10315) Testing big file........................................failed [ 0/100]10416) Testing sleep command...................................failed [ 0/100]10517) Testing fscanf function.................................failed [ 0/100]10618) Testing unknown command.................................failed [ 0/100]107 Total: 0/100108### RUNING LINTER109cd .. && checkpatch.pl -f src/*.c110---------111src/cmd.c112---------113total: 0 errors, 0 warnings, 128 lines checked114src/cmd.c has no obvious style problems and is ready for submission.115----------116src/main.c117----------118total: 0 errors, 0 warnings, 96 lines checked119src/main.c has no obvious style problems and is ready for submission.120-----------121src/utils.c122-----------123total: 0 errors, 0 warnings, 86 lines checked124src/utils.c has no obvious style problems and is ready for submission.125NOTE: Ignored message types: ARRAY_SIZE AVOID_EXTERNS C99_COMMENTS EMAIL_SUBJECT ENOSYS FILE_PATH_CHANGES GIT_COMMIT_ID NEW_TYPEDEFS SYMBOLIC_PERMS126cd .. && cpplint --recursive src/127Done processing src/cmd.c128Done processing src/cmd.h129Done processing src/main.c130Done processing src/utils.c131Done processing src/utils.h132cd .. && shellcheck checker/*.sh133cd .. && shellcheck tests/*.sh134cd .. && shellcheck tests/_test/*.sh135<VMCK_NEXT_END>136$ echo ""138Job succeeded