[so2] [SO2] [Tema1] Vmchecker

Adrian Stanciu adrian.stanciu.pub at gmail.com
Tue Mar 28 09:40:53 EEST 2017


On Mon, Mar 27, 2017 at 11:47 PM, Paul Dumitriu via so2
<so2 at cursuri.cs.pub.ro> wrote:
> Salut,
> Am o problema cu upload-ul pe vmchecker. Nu primesc nicio eroare, dar nu
> primesc niciun rezultat. Imi poate spune cineva daca problema e de la mine
> sau de la vmchecker?
>
> Multumesc,
>
> Paul Dumitriu
>
>
>
>
> Compilarea temei și a testelor (stdout)
>
> vmchecker storer: Build assignment and tests.
>
>
> Assignment archive contents:
> Archive:  archive.zip
>   Length      Date    Time    Name
> ---------  ---------- -----   ----
>      8987  2017-03-26 23:07   tracer.c
>       460  2017-03-04 14:39   tracer.h
>        42  2017-03-22 22:45   Kbuild
>       140  2017-03-22 22:45   Makefile
> ---------                     -------
>      9629                     4 files
> Unpacking assignment ...
> Test archive contents:
> Archive:  tests.zip
>   Length      Date    Time    Name
> ---------  ---------- -----   ----
>         0  2017-03-12 17:26   _test/
>       460  2017-03-04 10:35   _test/tracer.h
>      1424  2017-02-13 08:00   _test/debug.h
>      1073  2017-03-04 10:35   _test/test.h
>       761  2017-03-04 10:35   _test/helper.h
>       514  2017-02-13 08:00   _test/tracer_test.h
>       207  2017-02-13 08:00   _test/Makefile
>      1151  2017-03-04 10:35   _test/util.h
>     15273  2017-03-12 17:16   _test/tracer_test.c
>         0  2017-03-12 17:26   _helper/
>       761  2017-03-04 10:35   _helper/helper.h
>       112  2017-02-13 08:00   _helper/Makefile
>      4123  2017-03-04 10:35   _helper/tracer_helper.c
>        58  2017-02-13 08:00   _helper/Kbuild
>       758  2017-02-13 08:00   Makefile.checker
>       324  2017-02-13 08:00   _checker
>      2577  2017-03-04 14:51   README
> ---------                     -------
>     29576                     17 files
>
> Building tests ...
> make -C _test
> make[1]: Entering directory '/home/so2/vm/qemu-so2/fsimg/root/_test'
> cc -Wall -g -static -m32   -c -o tracer_test.o tracer_test.c
> make[1]: Leaving directory '/home/so2/vm/qemu-so2/fsimg/root/_test'
> make -C _helper
> make[1]: Entering directory '/home/so2/vm/qemu-so2/fsimg/root/_helper'
> make -C /usr/src/linux-so2/ M=`pwd`
> make[2]: Entering directory '/home/so2/vm/linux-4.9.11'
>   LD      /home/so2/vm/qemu-so2/fsimg/root/_helper/built-in.o
>   CC [M]  /home/so2/vm/qemu-so2/fsimg/root/_helper/tracer_helper.o
> /home/so2/vm/qemu-so2/fsimg/root/_helper/tracer_helper.c: In function
> 'thread_fn':
> /home/so2/vm/qemu-so2/fsimg/root/_helper/tracer_helper.c:78:3: warning:
> ignoring return value of 'down_interruptible', declared with attribute
> warn_unused_result [-Wunused-result]
>    down_interruptible(&sem);
>    ^
>   Building modules, stage 2.
>   MODPOST 1 modules
>   CC      /home/so2/vm/qemu-so2/fsimg/root/_helper/tracer_helper.mod.o
>   LD [M]  /home/so2/vm/qemu-so2/fsimg/root/_helper/tracer_helper.ko
> make[2]: Leaving directory '/home/so2/vm/linux-4.9.11'
> make[1]: Leaving directory '/home/so2/vm/qemu-so2/fsimg/root/_helper'
> cp _helper/tracer_helper.ko .
> cc -Wall -g -m32 -static -o tracer_test _test/tracer_test.o
> SUCCESS: Building tests complete.
>
> Building assignment ...
> Fixing file dates ...
> make -C /usr/src/linux-so2 M=`pwd`
> make[1]: Entering directory '/home/so2/vm/linux-4.9.11'
>   LD      /home/so2/vm/qemu-so2/fsimg/root/built-in.o
>   CC [M]  /home/so2/vm/qemu-so2/fsimg/root/tracer.o
>   Building modules, stage 2.
>   MODPOST 1 modules
>   CC      /home/so2/vm/qemu-so2/fsimg/root/tracer.mod.o
>   LD [M]  /home/so2/vm/qemu-so2/fsimg/root/tracer.ko
> make[1]: Leaving directory '/home/so2/vm/linux-4.9.11'
> cat build.sh >build
> chmod a+x build
> SUCCESS: Building assignment complete.
>
> Building tests ...
> make: Nothing to be done for 'build-post'.
> SUCCESS: Building tests complete.
>
>

Salut,

Ai niște probleme de sincronizare. Am rulat local (voi corecta local):
test_insmod.................................................passed  [  1/100]
test_rmmod..................................................passed  [  1/100]
test_insmod_rmmod...........................................passed  [  1/100]
test_open_dev_tracer........................................passed  [  1/100]
test_dev_minor_major........................................passed  [  1/100]
test_proc_entry_exists_after_insmod.........................passed  [  2/100]
test_proc_entry_inexistent_after_rmmod......................passed  [  2/100]
test_simple_kmalloc.........................................passed  [  5/100]
test_simple_kfree...........................................passed  [  5/100]
test_simple_sched...........................................passed  [  4/100]
test_simple_up_down.........................................passed  [  4/100]
test_simple_lock_unlock.....................................passed  [  4/100]
test_medium_kmalloc.........................................passed  [  5/100]
test_medium_free............................................passed  [  5/100]
test_medium_sched...........................................passed  [  5/100]
test_medium_up_down.........................................passed  [  4/100]
test_medium_lock_unlock.....................................passed  [  4/100]
test_medium_combined........................................passed  [  5/100]
test_multiple_zero_stats....................................passed  [  5/100]
test_multiple_nonzero_stats.................................passed  [ 12/100]
test_decent_alloc_free......................................failed  [  0/100]
test_mini_stress............................................failed  [  0/100]

                                                            Total:  [076/100]

Adrian


More information about the so2 mailing list