Call for testsuite running results

All ESP8266 boards running MicroPython.
Official boards are the Adafruit Huzzah and Feather boards.
Target audience: MicroPython users with an ESP8266 board.
pfalcon
Posts: 1155
Joined: Fri Feb 28, 2014 2:05 pm

Re: [URGENT] Call for testsuite running results

Post by pfalcon » Sat Apr 02, 2016 9:12 pm

Thanks everyone for quick turnaround!
Is this issue (RAM) going to be addressed next?
Sure, how else could it be, especially that it was written in the beginning of this topic ;-) :
The sooner lots of results will be collected, the sooner we'll reach final frontier of the phase 1 of the development: increased heap size.
Awesome MicroPython list
Pycopy - A better MicroPython https://github.com/pfalcon/micropython
MicroPython standard library for all ports and forks - https://github.com/pfalcon/micropython-lib
More up to date docs - http://pycopy.readthedocs.io/

User avatar
deshipu
Posts: 1347
Joined: Thu May 28, 2015 5:54 pm

Re: Call for testsuite running results

Post by deshipu » Sun Apr 03, 2016 1:11 pm

With version v1.6-353-g9698a60 on the Adafruit Huzzah Feather, I'm now getting consistently 2 test failures:

Code: Select all

FAIL  basics/struct1.py
FAIL  misc/features.py
Not sure if there is any way I could provide more detail?

pfalcon
Posts: 1155
Joined: Fri Feb 28, 2014 2:05 pm

Re: Call for testsuite running results

Post by pfalcon » Sun Apr 03, 2016 1:22 pm

See your own previous message for the information why this happens ;-).
Awesome MicroPython list
Pycopy - A better MicroPython https://github.com/pfalcon/micropython
MicroPython standard library for all ports and forks - https://github.com/pfalcon/micropython-lib
More up to date docs - http://pycopy.readthedocs.io/

pfalcon
Posts: 1155
Joined: Fri Feb 28, 2014 2:05 pm

Re: Call for testsuite running results

Post by pfalcon » Sun Apr 03, 2016 4:57 pm

Anyway, heap size has been increased in master!
Awesome MicroPython list
Pycopy - A better MicroPython https://github.com/pfalcon/micropython
MicroPython standard library for all ports and forks - https://github.com/pfalcon/micropython-lib
More up to date docs - http://pycopy.readthedocs.io/

User avatar
pythoncoder
Posts: 3495
Joined: Fri Jul 18, 2014 8:01 am
Location: UK
Contact:

Re: Call for testsuite running results

Post by pythoncoder » Thu Apr 07, 2016 9:51 am

[EDITED]I goofed first time. Here are the results [with today's firmware ;)] for an Adafruit Huzzah:

Code: Select all

406 tests performed (13217 individual testcases)
406 tests passed
48 tests skipped: builtin_compile class_descriptor exception_chain fun_name ordereddict1 parser slice_attrs string_splitlines machine1 machine_mem urandom_extra vfs_fat_ramdisk bytearray_construct bytes_construct cmath_fun cmath_fun_special complex1 float2int float2int_doubleprec float_divmod int_big_float math_fun_special string_format true_value types meminfo memstats native_closure native_const native_misc viper_addr viper_args viper_binop_arith viper_binop_comp viper_binop_comp_imm viper_binop_multi_comp viper_cond viper_error viper_misc viper_ptr16_load viper_ptr16_store viper_ptr32_load viper_ptr32_store viper_ptr8_load viper_ptr8_store viper_subscr rge_sm sys_exc_info
And on a WeMos D1 mini

Code: Select all

406 tests performed (13217 individual testcases)
406 tests passed
48 tests skipped: builtin_compile class_descriptor exception_chain fun_name ordereddict1 parser slice_attrs string_splitlines machine1 machine_mem urandom_extra vfs_fat_ramdisk bytearray_construct bytes_construct cmath_fun cmath_fun_special complex1 float2int float2int_doubleprec float_divmod int_big_float math_fun_special string_format true_value types meminfo memstats native_closure native_const native_misc viper_addr viper_args viper_binop_arith viper_binop_comp viper_binop_comp_imm viper_binop_multi_comp viper_cond viper_error viper_misc viper_ptr16_load viper_ptr16_store viper_ptr32_load viper_ptr32_store viper_ptr8_load viper_ptr8_store viper_subscr rge_sm sys_exc_info
Peter Hinch

gojimmypi
Posts: 36
Joined: Wed Mar 02, 2016 8:01 pm
Contact:

Re: Call for testsuite running results

Post by gojimmypi » Thu Apr 07, 2016 11:59 pm

I'm a little late to party here... for this version from today's git pull:

MicroPython v1.6-380-g9c04299 on 2016-04-07; ESP module with ESP8266

Using one of those China "Geekcreit" NodeMcu Lua boards like this:

http://www.ebay.com/itm/400923947498

I saw these results:

Code: Select all

406 tests performed (13217 individual testcases)
406 tests passed
48 tests skipped: builtin_compile class_descriptor exception_chain fun_name ordereddict1 parser slice_attrs string_splitlines machine1 machine_mem urandom_extra vfs_fat_ramdisk bytearray_construct bytes_construct cmath_fun cmath_fun_special complex1 float2int float2int_doubleprec float_divmod int_big_float math_fun_special string_format true_value types meminfo memstats native_closure native_const native_misc viper_addr viper_args viper_binop_arith viper_binop_comp viper_binop_comp_imm viper_binop_multi_comp viper_cond viper_error viper_misc viper_ptr16_load viper_ptr16_store viper_ptr32_load viper_ptr32_store viper_ptr8_load viper_ptr8_store viper_subscr rge_sm sys_exc_info

arek
Posts: 2
Joined: Wed Apr 13, 2016 1:19 pm

Re: Call for testsuite running results

Post by arek » Wed Apr 13, 2016 4:30 pm

NodeMCU Amica board (from China):

MicroPython v1.7-25-g47442d9 on 2016-04-13; ESP module with ESP8266

406 tests performed (13217 individual testcases)
406 tests passed
48 tests skipped: builtin_compile class_descriptor exception_chain fun_name ordereddict1 parser slice_attrs string_splitlines machine1 machine_mem urandom_extra vfs_fat_ramdisk bytearray_construct bytes_construct cmath_fun cmath_fun_special complex1 float2int float2int_doubleprec float_divmod int_big_float math_fun_special string_format true_value types meminfo memstats native_closure native_const native_misc viper_addr viper_args viper_binop_arith viper_binop_comp viper_binop_comp_imm viper_binop_multi_comp viper_cond viper_error viper_misc viper_ptr16_load viper_ptr16_store viper_ptr32_load viper_ptr32_store viper_ptr8_load viper_ptr8_store viper_subscr rge_sm sys_exc_info


DOIT devkit v2 board (doit.am; also from China):

MicroPython v1.7-25-g47442d9 on 2016-04-13; ESP module with ESP8266

406 tests performed (13217 individual testcases)
406 tests passed
48 tests skipped: builtin_compile class_descriptor exception_chain fun_name ordereddict1 parser slice_attrs string_splitlines machine1 machine_mem urandom_extra vfs_fat_ramdisk bytearray_construct bytes_construct cmath_fun cmath_fun_special complex1 float2int float2int_doubleprec float_divmod int_big_float math_fun_special string_format true_value types meminfo memstats native_closure native_const native_misc viper_addr viper_args viper_binop_arith viper_binop_comp viper_binop_comp_imm viper_binop_multi_comp viper_cond viper_error viper_misc viper_ptr16_load viper_ptr16_store viper_ptr32_load viper_ptr32_store viper_ptr8_load viper_ptr8_store viper_subscr rge_sm sys_exc_info


While playing "chg_A1:-140" type of messages and AP reconnect messages were getting into test suite way. Disabling/reflashing helped.

gojimmypi
Posts: 36
Joined: Wed Mar 02, 2016 8:01 pm
Contact:

Re: Call for testsuite running results

Post by gojimmypi » Wed Apr 13, 2016 10:57 pm

22 tests failed for v1.7-45-g44ab5c3. This was my first build on full Debian in a VM (previously I was using only Raspberry Pi), and tests run from both Debian and Raspberry Pi. Build is from scratch, so everything should be current. Flash appeared to be successful, no errors reported.

Startup:

Code: Select all

�ò�ì�pìl�xcl`��do�xsläd�÷ioctl(1, 0)
ioctl(5, 0)
readblocks(0, 3ffeeda0(4096))
readblocks(2, 3ffeedf0(4096))
could not open file 'boot.py' for reading
could not open file 'main.py' for reading

#4 ets_task(4010029c, 3, 3fff4668, 4)
MicroPython v1.7-45-g44ab5c3 on 2016-04-13; ESP module with ESP8266
Type "help()" for more information.
>>>
I fetched all the latest code like this (see post for my full build process: http://forum.micropython.org/viewtopic.php?f=16&t=1720):

Code: Select all

git submodule update --init

git fetch origin
git pull

# the next git commmands are suggested on https://github.com/pfalcon/esp-open-sdk
git submodule sync
git submodule update
Both the old test script, then fresh git fetch test script resulted in errors.
Here is the full output:

Code: Select all

pi@rp-machine ~/workspace/micropython/tests $ ./run-tests --target esp8266 --device /dev/ttyUSB0
pass  basics/0prelim.py
pass  basics/andor.py
pass  basics/array1.py
pass  basics/array_add.py
pass  basics/array_construct.py
pass  basics/array_construct2.py
pass  basics/array_construct_endian.py
Traceback (most recent call last):
  File "basics/array_q.py", line 5, in <module>
    print(array('q'))
ValueError: bad typecode (must be b, B, u, h, H, i, I, l, L, f or d)
FAIL  basics/array_q.py
pass  basics/assign1.py
pass  basics/async_await.py
pass  basics/async_await2.py
pass  basics/async_for.py
pass  basics/async_for2.py
pass  basics/async_with.py
pass  basics/async_with2.py
Traceback (most recent call last):
  File "basics/attrtuple1.py", line 5, in <module>
    t = sys.implementation
AttributeError: 'module' object has no attribute 'implementation'
FAIL  basics/attrtuple1.py
pass  basics/bool1.py
pass  basics/boundmeth1.py
pass  basics/break.py
pass  basics/builtin_abs.py
pass  basics/builtin_allany.py
pass  basics/builtin_bin.py
pass  basics/builtin_callable.py
pass  basics/builtin_chr.py
skip  basics/builtin_compile.py
pass  basics/builtin_dir.py
pass  basics/builtin_divmod.py
pass  basics/builtin_ellipsis.py
pass  basics/builtin_eval.py
pass  basics/builtin_eval_error.py
pass  basics/builtin_hash.py
pass  basics/builtin_hex.py
pass  basics/builtin_id.py
pass  basics/builtin_issubclass.py
pass  basics/builtin_len1.py
Traceback (most recent call last):
  File "basics/builtin_minmax.py", line 34, in <module>
    print(min([1, 2, 3, 4, 5], default=-1))
TypeError: min() got an unexpected keyword argument
FAIL  basics/builtin_minmax.py
pass  basics/builtin_oct.py
pass  basics/builtin_ord.py
pass  basics/builtin_override.py
pass  basics/builtin_pow.py
pass  basics/builtin_property.py
Traceback (most recent call last):
  File "basics/builtin_range.py", line 38, in <module>
    print(range(1, 2, 3).start)
AttributeError: 'range' object has no attribute 'start'
FAIL  basics/builtin_range.py
pass  basics/builtin_reversed.py
pass  basics/builtin_round.py
pass  basics/builtin_slice.py
pass  basics/builtin_sorted.py
pass  basics/builtin_sum.py
pass  basics/builtin_type.py
pass  basics/bytearray1.py
pass  basics/bytearray_add.py
pass  basics/bytearray_append.py
pass  basics/bytearray_construct.py
pass  basics/bytearray_construct_endian.py
pass  basics/bytearray_longint.py
pass  basics/bytearray_slice_assign.py
  File "basics/bytes.py", line 4
    print(rb'123')
                ^
SyntaxError: invalid syntax
FAIL  basics/bytes.py
pass  basics/bytes_add.py
pass  basics/bytes_add_endian.py
pass  basics/bytes_compare.py
pass  basics/bytes_compare2.py
pass  basics/bytes_construct.py
pass  basics/bytes_construct_endian.py
pass  basics/bytes_count.py
pass  basics/bytes_find.py
pass  basics/bytes_format_modulo.py
pass  basics/bytes_gen.py
pass  basics/bytes_large.py
pass  basics/bytes_mult.py
pass  basics/bytes_partition.py
pass  basics/bytes_replace.py
pass  basics/bytes_split.py
pass  basics/bytes_strip.py
pass  basics/bytes_subscr.py
pass  basics/class1.py
pass  basics/class2.py
pass  basics/class3.py
pass  basics/class_bind_self.py
pass  basics/class_binop.py
pass  basics/class_call.py
pass  basics/class_contains.py
skip  basics/class_descriptor.py
pass  basics/class_emptybases.py
pass  basics/class_getattr.py
pass  basics/class_inherit1.py
pass  basics/class_inherit_mul.py
pass  basics/class_instance_override.py
pass  basics/class_item.py
pass  basics/class_new.py
pass  basics/class_number.py
pass  basics/class_staticclassmethod.py
pass  basics/class_store.py
pass  basics/class_store_class.py
pass  basics/class_str.py
pass  basics/class_super.py
pass  basics/class_super_object.py
pass  basics/class_use_other.py
pass  basics/closure1.py
pass  basics/closure2.py
pass  basics/closure_defargs.py
pass  basics/closure_manyvars.py
pass  basics/closure_namedarg.py
pass  basics/compare_multi.py
pass  basics/comprehension1.py
pass  basics/containment.py
pass  basics/continue.py
pass  basics/decorator.py
pass  basics/del_attr.py
pass  basics/del_deref.py
pass  basics/del_global.py
pass  basics/del_local.py
pass  basics/del_name.py
pass  basics/del_subscr.py
pass  basics/dict1.py
pass  basics/dict2.py
pass  basics/dict_clear.py
pass  basics/dict_construct.py
pass  basics/dict_copy.py
^[[B^[[B^[[Bpass  basics/dict_del.py
pass  basics/dict_from_iter.py
pass  basics/dict_fromkeys.py
pass  basics/dict_get.py
pass  basics/dict_intern.py
pass  basics/dict_iterator.py
pass  basics/dict_pop.py
pass  basics/dict_popitem.py
pass  basics/dict_setdefault.py
pass  basics/dict_specialmeth.py
pass  basics/dict_update.py
pass  basics/dict_views.py
pass  basics/enumerate.py
pass  basics/equal.py
pass  basics/equal_class.py
pass  basics/except_match_tuple.py
Traceback (most recent call last):
  File "basics/exception1.py", line 13, in <module>
    print(s.value)
AttributeError: 'StopIteration' object has no attribute 'value'
FAIL  basics/exception1.py
skip  basics/exception_chain.py
pass  basics/exceptpoly.py
pass  basics/exceptpoly2.py
pass  basics/exec1.py
pass  basics/filter.py
pass  basics/floordivide.py
pass  basics/for1.py
pass  basics/for2.py
pass  basics/for3.py
pass  basics/for_break.py
pass  basics/for_range.py
pass  basics/for_return.py
pass  basics/frozenset1.py
pass  basics/frozenset_add.py
pass  basics/frozenset_binop.py
pass  basics/frozenset_copy.py
pass  basics/frozenset_difference.py
pass  basics/frozenset_set.py
pass  basics/fun1.py
pass  basics/fun2.py
pass  basics/fun3.py
pass  basics/fun_annotations.py
pass  basics/fun_calldblstar.py
pass  basics/fun_callstar.py
pass  basics/fun_callstardblstar.py
pass  basics/fun_defargs.py
pass  basics/fun_defargs2.py
pass  basics/fun_error.py
pass  basics/fun_kwargs.py
pass  basics/fun_kwonly.py
pass  basics/fun_kwonlydef.py
pass  basics/fun_kwvarargs.py
pass  basics/fun_largestate.py
skip  basics/fun_name.py
pass  basics/fun_str.py
pass  basics/fun_varargs.py
pass  basics/gc1.py
  File "basics/gen_yield_from.py", line 9
    print((yield from gen()))
                    ^
SyntaxError: invalid syntax
FAIL  basics/gen_yield_from.py
  File "basics/gen_yield_from_close.py", line 9
    print((yield from gen()))
                    ^
SyntaxError: invalid syntax
FAIL  basics/gen_yield_from_close.py
  File "basics/gen_yield_from_ducktype.py", line 16
    yield from MyGen()
             ^
SyntaxError: invalid syntax
FAIL  basics/gen_yield_from_ducktype.py
  File "basics/gen_yield_from_exc.py", line 8
    print((yield from gen()))
                    ^
SyntaxError: invalid syntax
FAIL  basics/gen_yield_from_exc.py
  File "basics/gen_yield_from_iter.py", line 2
    yield from (1, 2, 3)
             ^
SyntaxError: invalid syntax
FAIL  basics/gen_yield_from_iter.py
  File "basics/gen_yield_from_send.py", line 6
    print((yield from gen()))
                    ^
SyntaxError: invalid syntax
FAIL  basics/gen_yield_from_send.py
  File "basics/gen_yield_from_throw.py", line 10
    print((yield from gen()))
                    ^
SyntaxError: invalid syntax
FAIL  basics/gen_yield_from_throw.py
  File "basics/generator1.py", line 12
    return None
SyntaxError: 'return' with argument inside generator
FAIL  basics/generator1.py
pass  basics/generator2.py
pass  basics/generator_args.py
pass  basics/generator_close.py
pass  basics/generator_closure.py
pass  basics/generator_exc.py
  File "basics/generator_return.py", line 3
    return 42
SyntaxError: 'return' with argument inside generator
FAIL  basics/generator_return.py
pass  basics/generator_send.py
pass  basics/getattr.py
pass  basics/getattr1.py
pass  basics/getitem.py
pass  basics/globals_del.py
pass  basics/hasattr1.py
pass  basics/ifcond.py
pass  basics/int1.py
pass  basics/int2.py
pass  basics/int_big_and.py
pass  basics/int_big_and2.py
pass  basics/int_big_and3.py
pass  basics/int_big_cmp.py
pass  basics/int_big_div.py
pass  basics/int_big_error.py
pass  basics/int_big_lshift.py
pass  basics/int_big_mod.py
pass  basics/int_big_mul.py
pass  basics/int_big_or.py
pass  basics/int_big_or2.py
pass  basics/int_big_or3.py
pass  basics/int_big_pow.py
pass  basics/int_big_rshift.py
pass  basics/int_big_unary.py
pass  basics/int_big_xor.py
pass  basics/int_big_xor2.py
pass  basics/int_big_xor3.py
pass  basics/int_big_zeroone.py
pass  basics/int_bytes.py
pass  basics/int_constfolding.py
pass  basics/int_divmod.py
pass  basics/int_divzero.py
pass  basics/int_long.py
pass  basics/int_mpz.py
pass  basics/int_small.py
pass  basics/is_isnot.py
pass  basics/iter0.py
pass  basics/iter1.py
pass  basics/iter2.py
pass  basics/iter_of_iter.py
pass  basics/lambda1.py
pass  basics/lambda_defargs.py
Traceback (most recent call last):
  File "basics/lexer.py", line 48, in <module>
    exec(r"b'\x0'")
ValueError: invalid \x escape
FAIL  basics/lexer.py
pass  basics/list1.py
Traceback (most recent call last):
  File "basics/list_clear.py", line 3, in <module>
    x.clear()
AttributeError: 'list' object has no attribute 'clear'
FAIL  basics/list_clear.py
pass  basics/list_compare.py
Traceback (most recent call last):
  File "basics/list_copy.py", line 3, in <module>
    b = a.copy()
AttributeError: 'list' object has no attribute 'copy'
FAIL  basics/list_copy.py
pass  basics/list_count.py
pass  basics/list_extend.py
pass  basics/list_index.py
pass  basics/list_insert.py
pass  basics/list_mult.py
pass  basics/list_pop.py
pass  basics/list_remove.py
pass  basics/list_reverse.py
pass  basics/list_slice.py
pass  basics/list_slice_3arg.py
pass  basics/list_slice_assign.py
pass  basics/list_slice_assign_grow.py
pass  basics/list_sort.py
pass  basics/list_sum.py
pass  basics/map.py
pass  basics/memoryerror.py
Traceback (most recent call last):
  File "basics/memoryview1.py", line 19, in <module>
    m[0] = 1
TypeError: 'int' does not support the buffer interface
FAIL  basics/memoryview1.py
Traceback (most recent call last):
  File "basics/memoryview_gc.py", line 6, in <module>
    m[i] = i
TypeError: 'int' does not support the buffer interface
FAIL  basics/memoryview_gc.py
pass  basics/module1.py
pass  basics/module2.py
pass  basics/namedtuple1.py
pass  basics/object1.py
pass  basics/object_dict.py
pass  basics/object_new.py
pass  basics/op_error.py
skip  basics/ordereddict1.py
skip  basics/parser.py
pass  basics/print.py
pass  basics/python34.py
pass  basics/return1.py
pass  basics/scope.py
pass  basics/self_type_check.py
pass  basics/seq_unpack.py
pass  basics/set1.py
pass  basics/set_add.py
pass  basics/set_binop.py
pass  basics/set_clear.py
pass  basics/set_copy.py
pass  basics/set_difference.py
pass  basics/set_discard.py
pass  basics/set_intersection.py
pass  basics/set_isdisjoint.py
pass  basics/set_isfooset.py
pass  basics/set_iter.py
pass  basics/set_pop.py
pass  basics/set_remove.py
pass  basics/set_specialmeth.py
pass  basics/set_symmetric_difference.py
pass  basics/set_union.py
pass  basics/set_unop.py
pass  basics/set_update.py
pass  basics/setattr1.py
skip  basics/slice_attrs.py
pass  basics/slots_bool_len.py
  File "basics/string1.py", line 6
    print(u'abc')
               ^
SyntaxError: invalid syntax
FAIL  basics/string1.py
pass  basics/string_compare.py
pass  basics/string_count.py
pass  basics/string_cr_conversion.py
pass  basics/string_crlf_conversion.py
pass  basics/string_endswith.py
pass  basics/string_escape.py
pass  basics/string_find.py
pass  basics/string_format.py
pass  basics/string_format2.py
pass  basics/string_format_error.py
pass  basics/string_format_modulo.py
pass  basics/string_index.py
pass  basics/string_istest.py
pass  basics/string_join.py
pass  basics/string_large.py
pass  basics/string_mult.py
pass  basics/string_partition.py
pass  basics/string_replace.py
pass  basics/string_repr.py
pass  basics/string_rfind.py
pass  basics/string_rindex.py
pass  basics/string_rpartition.py
pass  basics/string_rsplit.py
pass  basics/string_slice.py
pass  basics/string_split.py
Traceback (most recent call last):
  File "basics/string_splitlines.py", line 12, in <module>
    print("foo\nbar".splitlines(keepends=True))
TypeError: splitlines() takes no keyword arguments
skip  basics/string_splitlines.py
pass  basics/string_startswith.py
pass  basics/string_strip.py
pass  basics/string_upperlow.py
pass  basics/struct1.py
pass  basics/subclass_classmethod.py
pass  basics/subclass_native1.py
pass  basics/subclass_native2_list.py
pass  basics/subclass_native2_tuple.py
pass  basics/subclass_native3.py
pass  basics/subclass_native4.py
pass  basics/subclass_native5.py
pass  basics/subclass_native_buffer.py
pass  basics/subclass_native_cmp.py
pass  basics/subclass_native_specmeth.py
pass  basics/syntaxerror.py
Traceback (most recent call last):
  File "basics/sys1.py", line 10, in <module>
    print(sys.implementation.name in ('cpython', 'micropython'))
AttributeError: 'module' object has no attribute 'implementation'
FAIL  basics/sys1.py
pass  basics/true_value.py
pass  basics/try1.py
pass  basics/try2.py
pass  basics/try3.py
pass  basics/try4.py
pass  basics/try_as_var.py
pass  basics/try_continue.py
pass  basics/try_error.py
pass  basics/try_finally1.py
pass  basics/try_finally_loops.py
pass  basics/try_finally_return.py
pass  basics/try_finally_return2.py
pass  basics/try_reraise.py
pass  basics/try_reraise2.py
pass  basics/tuple1.py
pass  basics/tuple_compare.py
pass  basics/tuple_count.py
pass  basics/tuple_index.py
pass  basics/tuple_mult.py
pass  basics/types1.py
pass  basics/types2.py
pass  basics/unary_op.py
pass  basics/unboundlocal.py
pass  basics/unpack1.py
pass  basics/while1.py
pass  basics/while_cond.py
pass  basics/while_nest_exc.py
pass  basics/with1.py
pass  basics/with_break.py
pass  basics/with_continue.py
pass  basics/with_return.py
pass  basics/zip.py
skip  extmod/machine1.py
skip  extmod/machine_mem.py
pass  extmod/sha256.py
pass  extmod/time_ms_us.py
pass  extmod/ubinascii_a2b_base64.py
pass  extmod/ubinascii_b2a_base64.py
pass  extmod/ubinascii_hexlify.py
pass  extmod/ubinascii_unhexlify.py
pass  extmod/uctypes_array_assign_le.py
pass  extmod/uctypes_array_assign_native_le.py
pass  extmod/uctypes_bytearray.py
pass  extmod/uctypes_le.py
pass  extmod/uctypes_le_float.py
pass  extmod/uctypes_native_float.py
pass  extmod/uctypes_native_le.py
pass  extmod/uctypes_ptr_le.py
pass  extmod/uctypes_ptr_native_le.py
pass  extmod/uctypes_sizeof.py
pass  extmod/uctypes_sizeof_native.py
pass  extmod/uheapq1.py
pass  extmod/ujson_dumps.py
pass  extmod/ujson_dumps_extra.py
pass  extmod/ujson_dumps_float.py
pass  extmod/ujson_loads.py
pass  extmod/ujson_loads_float.py
pass  extmod/urandom_basic.py
skip  extmod/urandom_extra.py
pass  extmod/ure1.py
pass  extmod/ure_error.py
pass  extmod/ure_group.py
pass  extmod/ure_namedclass.py
pass  extmod/ure_split.py
skip  extmod/vfs_fat_ramdisk.py
pass  extmod/zlibd_decompress.py
pass  float/array_construct.py
pass  float/builtin_float_minmax.py
pass  float/builtin_float_round.py
skip  float/bytearray_construct.py
skip  float/bytes_construct.py
skip  float/cmath_fun.py
skip  float/cmath_fun_special.py
skip  float/complex1.py
pass  float/float1.py
skip  float/float2int.py
skip  float/float2int_doubleprec.py
pass  float/float2int_fp30.py
pass  float/float_array.py
skip  float/float_divmod.py
pass  float/float_divmod_relaxed.py
pass  float/float_struct.py
skip  float/int_big_float.py
pass  float/int_divzero.py
pass  float/int_power.py
pass  float/list_index.py
pass  float/math_fun.py
pass  float/math_fun_bool.py
Traceback (most recent call last):
  File "float/math_fun_special.py", line 16, in <module>
    ('log2', log2, test_values),
NameError: name 'log2' is not defined
skip  float/math_fun_special.py
skip  float/string_format.py
pass  float/string_format2.py
pass  float/string_format_fp30.py
pass  float/string_format_modulo.py
pass  float/string_format_modulo2.py
skip  float/true_value.py
skip  float/types.py
pass  micropython/const.py
pass  micropython/const_error.py
pass  micropython/decorator.py
pass  micropython/decorator_error.py
pass  micropython/heapalloc.py
skip  micropython/meminfo.py
skip  micropython/memstats.py
skip  micropython/native_closure.py
skip  micropython/native_const.py
skip  micropython/native_misc.py
skip  micropython/viper_addr.py
skip  micropython/viper_args.py
skip  micropython/viper_binop_arith.py
skip  micropython/viper_binop_comp.py
skip  micropython/viper_binop_comp_imm.py
skip  micropython/viper_binop_multi_comp.py
skip  micropython/viper_cond.py
skip  micropython/viper_error.py
skip  micropython/viper_misc.py
skip  micropython/viper_ptr16_load.py
skip  micropython/viper_ptr16_store.py
skip  micropython/viper_ptr32_load.py
skip  micropython/viper_ptr32_store.py
skip  micropython/viper_ptr8_load.py
skip  micropython/viper_ptr8_store.py
skip  micropython/viper_subscr.py
pass  misc/features.py
pass  misc/non_compliant.py
pass  misc/non_compliant_lexer.py
pass  misc/print_exception.py
pass  misc/recursion.py
pass  misc/recursive_data.py
pass  misc/recursive_iternext.py
skip  misc/rge_sm.py
skip  misc/sys_exc_info.py
412 tests performed (13111 individual testcases)
390 tests passed
48 tests skipped: builtin_compile class_descriptor exception_chain fun_name ordereddict1 parser slice_attrs string_splitlines machine1 machine_mem urandom_extra vfs_fat_ramdisk bytearray_construct bytes_construct cmath_fun cmath_fun_special complex1 float2int float2int_doubleprec float_divmod int_big_float math_fun_special string_format true_value types meminfo memstats native_closure native_const native_misc viper_addr viper_args viper_binop_arith viper_binop_comp viper_binop_comp_imm viper_binop_multi_comp viper_cond viper_error viper_misc viper_ptr16_load viper_ptr16_store viper_ptr32_load viper_ptr32_store viper_ptr8_load viper_ptr8_store viper_subscr rge_sm sys_exc_info
22 tests failed: array_q attrtuple1 builtin_minmax builtin_range bytes exception1 gen_yield_from gen_yield_from_close gen_yield_from_ducktype gen_yield_from_exc gen_yield_from_iter gen_yield_from_send gen_yield_from_throw generator1 generator_return lexer list_clear list_copy memoryview1 memoryview_gc string1 sys1
edit: I am using a "Geekcreit" board like this one: http://www.banggood.com/Geekcreit-Doit- ... 85891.html

gojimmypi
Posts: 36
Joined: Wed Mar 02, 2016 8:01 pm
Contact:

Re: Call for testsuite running results

Post by gojimmypi » Thu Apr 14, 2016 9:01 pm

today the ./run-tests is not working for me (fetching everything fresh from today on github: esp-open-sdk, esptool, micropython ).

Error is: ImportError: No module named 'serial'

Code: Select all

mylogin@mymachine:~$ ~/workspace/micropython/tests/run-tests --target esp8266 --device /dev/ttyUSB0
Traceback (most recent call last):
  File "/home/mylogin/workspace/micropython/tests/run-tests", line 388, in <module>
    main()
  File "/home/mylogin/workspace/micropython/tests/run-tests", line 356, in main
    pyb = pyboard.Pyboard(args.device, args.baudrate, args.user, args.password)
  File "/home/mylogin/workspace/micropython/tests/pyboard.py", line 125, in __init__
    import serial
ImportError: No module named 'serial'
I am able to get the device ID:

Code: Select all

mylogin@mymachine:~$ ~/workspace/esptool/esptool.py --port /dev/ttyUSB0 flash_id
Connecting...
Manufacturer: e0
Device: 4016
this is all with the latest code from today (v1.7-55-g272fad6 - April 14). I am able to flash, and connect to the device:

Code: Select all

¦¦o¦¦¦¦cxc¦¦¦¦¦¦¦¦p¦l¦pcl`¦¦lo¦psl¦d¦¦ioctl(1, 0)
ioctl(5, 0)
readblocks(0, 3ffeed90(4096))
readblocks(2, 3ffeede0(4096))
could not open file 'boot.py' for reading
could not open file 'main.py' for reading

#4 ets_task(401002a4, 3, 3fff4658, 4)
MicroPython v1.7-55-g272fad6 on 2016-04-14; ESP module with ESP8266
Type "help()" for more information.
tried resetting ESP8266, recompiling, etc.

User avatar
pythoncoder
Posts: 3495
Joined: Fri Jul 18, 2014 8:01 am
Location: UK
Contact:

Re: Call for testsuite running results

Post by pythoncoder » Fri Apr 15, 2016 6:28 am

I think you need to install pyserial

Code: Select all

sudo pip install pyserial
Peter Hinch

Post Reply