bbb-poky-sdk_test_notes 

Fuego wiki

Login or create account

bbb-poky-sdk test notes

Here are test results for Fuego on bbb-poky-sdk.

I'm not using the correct toolchain for the board, and so several of the tests have errors building. Here are tests that are known to fail in my beaglebone black configuration:

Tests that always fail [edit section]

Benchmark.bonnie [edit section]

  • runtime error, libstdc++.so.6 not found

Error:

    bonnie++
    ./bonnie++: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory

Benchmark.ffsb [edit section]

  • build error, -march=armv5e not supported

Error:

    configure: error: unrecognized option: -march=armv5e
    Try `./configure --help' for more information.

Benchmark.tiobench [edit section]

  • build error, missing inline crc32 definition

Error:

    arm-poky-linux-gnueabi-gcc  -march=armv5e -marm --sysroot=/fuego-ro/toolchains/poky/sysroots/armv5e-poky-linux-gnueabi \
    -c  -O2 -pipe -g -feliminate-unused-debug-types  -O2 -pipe -g -feliminate-unused-debug-types \
      tiotest.c -o tiotest.o
    In file included from tiotest.c:24:0:
    crc32.h:22:15: warning: inline function 'crc32' declared but never defined
     unsigned long crc32( const void* const buffer,
                   ^~~~~
    arm-poky-linux-gnueabi-gcc  -march=armv5e -marm --sysroot=/fuego-ro/toolchains/poky/sysroots/armv5e-poky-linux-gnueabi \
    -c  -O2 -pipe -g -feliminate-unused-debug-types  -O2 -pipe -g -feliminate-unused-debug-types  \
     crc32.c -o crc32.o
    crc32.c:83:28: warning: 'crctab' is static but used in inline function 'crc32' which is not static
             crc = (crc << 8) ^ crctab[((crc >> 24) ^ *(cp++)) & 0xFF];
                                ^~~~~~
    arm-poky-linux-gnueabi-gcc  -march=armv5e -marm --sysroot=/fuego-ro/toolchains/poky/sysroots/armv5e-poky-linux-gnueabi \
    -o tiotest tiotest.o crc32.o -lpthread
    tiotest.o: In function `initialize_test':
    /fuego-rw/buildzone/bbb-poky-sdk.testplan_docker.Benchmark.tiobench-poky-qemuarm/tiotest.c:300: undefined reference to `crc32'
    tiotest.o: In function `do_read_test':
    /fuego-rw/buildzone/bbb-poky-sdk.testplan_docker.Benchmark.tiobench-poky-qemuarm/tiotest.c:1191: undefined reference to `crc32'
    tiotest.o: In function `do_random_read_test':
    /fuego-rw/buildzone/bbb-poky-sdk.testplan_docker.Benchmark.tiobench-poky-qemuarm/tiotest.c:1297: undefined reference to `crc32'
    collect2: error: ld returned 1 exit status
    Makefile:37: recipe for target 'tiotest' failed

Functional.aiostress [edit section]

  • build error, missing libaio.h

Error:

    aiostress.c:58:20: fatal error: libaio.h: No such file or directory
     #include <libaio.h>
                        ^
    compilation terminated.

Functional.fio [edit section]

  • build error, missing 'nop'

Error:

    FIO_VERSION = 2.0.8
        DEP .depend
        CC gettime.o
    gettime.c: In function 'gtod_thread_main':
    gettime.c:295:3: error: 'nop' undeclared (first use in this function)
       nop;
       ^~~
    gettime.c:295:3: note: each undeclared identifier is reported only once for each function it appears in
    Makefile:108: recipe for target 'gettime.o' failed
    make: *** [gettime.o] Error 1

Functional.glib [edit section]

  • runtime error, can't find libglib-2.0.so.0

Error:

    ./gtester: error while loading shared libraries: libglib-2.0.so.0: cannot open shared object file: No such file or directory

Test times [edit section]

This is for testplan_docker:

test  ^ docker time  ^ bbb time  ^ notes  ^ storage needed  ^
ipv6connect 1s 12s <empty cell>
hello_world 1.1s 8s <empty cell>
stress 1m 4s 1m 25s <empty cell>
Whetstone 3.3s 1m 39s <empty cell>
hackbench 1.2s 27s <empty cell>
bzip2 0.67s 7s <empty cell>
Dhrystone 10s 47s <empty cell>
dbench 27s 1m 20s <empty cell>
zlib 3.8s 10s <empty cell>
bc 1.6s 7s <empty cell>
linpack 23s 34s <empty cell>
rmaptest 2.2s 6m 8s <empty cell>
IOzone 43s 2m 13s (had an error with xlsx saving) <empty cell>
aiostress 1.5s error bbb build error <empty cell>
ffsb 21s error bbb build error <empty cell>
tiobench 13s error bbb build error <empty cell>
fio error error bbb build error, docker parser.py error <empty cell>
LTP error (8m 6s) error bbb runs out of storage space, docker hangs on kill10 program, when that is manually killed, it takes 8m (had an error with xlsx saving) 700MB tmp/ltp-xxx/test.img is 270MB
glib 2m 22s error bbb runtime link error <empty cell>
bonnie 1m 13s error bbb runtime link error <empty cell>
linus_stress 2.4s 12m bbb takes a long time <empty cell>
Query

TBWiki engine 1.8.3 by Tim Bird