leycec / raiagent

Third-party Gentoo overlay. Ride the Lagrangian point between awesomeness and volatile compounds.
31 stars 14 forks source link

shiboken2 test failure #86

Closed ZeroChaos- closed 4 years ago

ZeroChaos- commented 4 years ago

Hi. I was hoping to grab shiboken2 and pyside2 and put them in Gentoo, but the test failures appear significant. Can you please share your thoughts?

>>> Test phase: dev-python/shiboken2-5.14.2
 * python3_7: running cmake-utils_src_test
>>> Working in BUILD_DIR: "/var/tmp/portage/dev-python/shiboken2-5.14.2/work/pyside-setup-opensource-src-5.14.2/sources/shiboken2-python3_7"
ctest -j 12 --test-load 12
Test project /var/tmp/portage/dev-python/shiboken2-5.14.2/work/pyside-setup-opensource-src-5.14.2/sources/shiboken2-python3_7
        Start   1: testabstractmetaclass
  1/176 Test   #1: testabstractmetaclass ..............................................   Passed    0.17 sec
        Start   2: testabstractmetatype
  2/176 Test   #2: testabstractmetatype ...............................................   Passed    0.12 sec
        Start   3: testaddfunction
  3/176 Test   #3: testaddfunction ....................................................   Passed    0.15 sec
        Start   4: testarrayargument
  4/176 Test   #4: testarrayargument ..................................................   Passed    0.11 sec
        Start   5: testcodeinjection
  5/176 Test   #5: testcodeinjection ..................................................   Passed    0.12 sec
        Start   6: testcontainer
  6/176 Test   #6: testcontainer ......................................................   Passed    0.12 sec
        Start   7: testconversionoperator
  7/176 Test   #7: testconversionoperator .............................................   Passed    0.11 sec
        Start   8: testconversionruletag
  8/176 Test   #8: testconversionruletag ..............................................   Passed    0.11 sec
        Start   9: testctorinformation
  9/176 Test   #9: testctorinformation ................................................   Passed    0.18 sec
        Start  10: testdroptypeentries
 10/176 Test  #10: testdroptypeentries ................................................   Passed    0.17 sec
        Start  11: testdtorinformation
 11/176 Test  #11: testdtorinformation ................................................   Passed    0.10 sec
        Start  12: testenum
 12/176 Test  #12: testenum ...........................................................   Passed    0.12 sec
        Start  13: testextrainclude
 13/176 Test  #13: testextrainclude ...................................................   Passed    0.10 sec
        Start  14: testfunctiontag
 14/176 Test  #14: testfunctiontag ....................................................   Passed    0.11 sec
        Start  15: testimplicitconversions
 15/176 Test  #15: testimplicitconversions ............................................   Passed    0.11 sec
        Start  16: testinserttemplate
 16/176 Test  #16: testinserttemplate .................................................   Passed    0.10 sec
        Start  17: testmodifyfunction
 17/176 Test  #17: testmodifyfunction .................................................   Passed    0.17 sec
        Start  18: testmultipleinheritance
 18/176 Test  #18: testmultipleinheritance ............................................   Passed    0.10 sec
        Start  19: testnamespace
 19/176 Test  #19: testnamespace ......................................................   Passed    0.09 sec
        Start  20: testnestedtypes
 20/176 Test  #20: testnestedtypes ....................................................   Passed    0.11 sec
        Start  21: testnumericaltypedef
 21/176 Test  #21: testnumericaltypedef ...............................................   Passed    0.10 sec
        Start  22: testprimitivetypetag
 22/176 Test  #22: testprimitivetypetag ...............................................   Passed    0.09 sec
        Start  23: testrefcounttag
 23/176 Test  #23: testrefcounttag ....................................................   Passed    0.12 sec
        Start  24: testreferencetopointer
 24/176 Test  #24: testreferencetopointer .............................................   Passed    0.11 sec
        Start  25: testremovefield
 25/176 Test  #25: testremovefield ....................................................   Passed    0.09 sec
        Start  26: testremoveimplconv
 26/176 Test  #26: testremoveimplconv .................................................   Passed    0.10 sec
        Start  27: testremoveoperatormethod
 27/176 Test  #27: testremoveoperatormethod ...........................................   Passed    0.11 sec
        Start  28: testresolvetype
 28/176 Test  #28: testresolvetype ....................................................   Passed    0.09 sec
        Start  29: testreverseoperators
 29/176 Test  #29: testreverseoperators ...............................................   Passed    0.16 sec
        Start  30: testtemplates
 30/176 Test  #30: testtemplates ......................................................   Passed    0.34 sec
***** WAITING, System Load: 12, Max Allowed Load: 12, Smallest test testtoposort requires 1*****
        Start  31: testtoposort
 31/176 Test  #31: testtoposort .......................................................   Passed    0.00 sec
        Start  32: testvaluetypedefaultctortag
 32/176 Test  #32: testvaluetypedefaultctortag ........................................   Passed    0.10 sec
        Start  33: testvoidarg
 33/176 Test  #33: testvoidarg ........................................................   Passed    0.11 sec
        Start  34: testtyperevision
 34/176 Test  #34: testtyperevision ...................................................   Passed    0.13 sec
        Start  35: testmodifydocumentation
 35/176 Test  #35: testmodifydocumentation ............................................   Passed    0.13 sec
        Start  36: minimal_brace_pattern
 36/176 Test  #36: minimal_brace_pattern ..............................................***Failed    0.05 sec
        Start  37: minimal_listuser
 37/176 Test  #37: minimal_listuser ...................................................***Failed    0.06 sec
        Start  38: minimal_minbool
 38/176 Test  #38: minimal_minbool ....................................................***Failed    0.05 sec
        Start  39: minimal_obj
 39/176 Test  #39: minimal_obj ........................................................***Failed    0.05 sec
        Start  40: minimal_typedef
 40/176 Test  #40: minimal_typedef ....................................................***Failed    0.05 sec
        Start  41: minimal_val
 41/176 Test  #41: minimal_val ........................................................***Failed    0.04 sec
        Start  42: other_collector_external_operator
 42/176 Test  #42: other_collector_external_operator ..................................***Failed    0.04 sec
        Start  43: other_conversion_operator_for_class_without_implicit_conversions
 43/176 Test  #43: other_conversion_operator_for_class_without_implicit_conversions ...***Failed    0.05 sec
        Start  44: other_extended_multiply_operator
 44/176 Test  #44: other_extended_multiply_operator ...................................***Failed    0.05 sec
        Start  45: other_module_reload
 45/176 Test  #45: other_module_reload ................................................***Failed    0.08 sec
        Start  46: other_new_ctor_operator
 46/176 Test  #46: other_new_ctor_operator ............................................***Failed    0.06 sec
        Start  47: other_objtypehashes
 47/176 Test  #47: other_objtypehashes ................................................***Failed    0.05 sec
        Start  48: other_otherderived
 48/176 Test  #48: other_otherderived .................................................***Failed    0.04 sec
        Start  49: other_typediscovery
 49/176 Test  #49: other_typediscovery ................................................***Failed    0.05 sec
        Start  50: other_usersprimitivefromothermodule
 50/176 Test  #50: other_usersprimitivefromothermodule ................................***Failed    0.06 sec
        Start  51: other_wrongctor
 51/176 Test  #51: other_wrongctor ....................................................***Failed    0.04 sec
        Start  52: sample___del__
 52/176 Test  #52: sample___del__ .....................................................***Failed    0.06 sec
        Start  53: sample_abstract
 53/176 Test  #53: sample_abstract ....................................................***Failed    0.08 sec
        Start  54: sample_addedfunction
 54/176 Test  #54: sample_addedfunction ...............................................***Failed    0.11 sec
        Start  55: sample_addedfunction_with_container_args
 55/176 Test  #55: sample_addedfunction_with_container_args ...........................***Failed    0.09 sec
        Start  56: sample_argumentmodifications
 56/176 Test  #56: sample_argumentmodifications .......................................***Failed    0.09 sec
        Start  57: sample_array_numpy
 57/176 Test  #57: sample_array_numpy .................................................***Failed    0.08 sec
        Start  58: sample_array_sequence
 58/176 Test  #58: sample_array_sequence ..............................................***Failed    0.10 sec
        Start  59: sample_bug_554
 59/176 Test  #59: sample_bug_554 .....................................................***Failed    0.05 sec
        Start  60: sample_bug_704
 60/176 Test  #60: sample_bug_704 .....................................................***Failed    0.12 sec
        Start  61: sample_bytearray
 61/176 Test  #61: sample_bytearray ...................................................***Failed    0.12 sec
        Start  62: sample_child_return
 62/176 Test  #62: sample_child_return ................................................***Failed    0.12 sec
        Start  63: sample_class_fields
 63/176 Test  #63: sample_class_fields ................................................***Failed    0.16 sec
        Start  64: sample_collector
 64/176 Test  #64: sample_collector ...................................................***Failed    0.17 sec
        Start  65: sample_complex
 65/176 Test  #65: sample_complex .....................................................***Failed    0.15 sec
        Start  66: sample_conversion_operator
 66/176 Test  #66: sample_conversion_operator .........................................***Failed    0.11 sec
        Start  67: sample_copy
 67/176 Test  #67: sample_copy ........................................................***Failed    0.13 sec
        Start  68: sample_ctorconvrule
 68/176 Test  #68: sample_ctorconvrule ................................................***Failed    0.10 sec
        Start  69: sample_cyclic
 69/176 Test  #69: sample_cyclic ......................................................***Failed    0.09 sec
        Start  70: sample_date
 70/176 Test  #70: sample_date ........................................................***Failed    0.14 sec
        Start  71: sample_decisor
 71/176 Test  #71: sample_decisor .....................................................***Failed    0.14 sec
        Start  72: sample_delete
 72/176 Test  #72: sample_delete ......................................................***Failed    0.09 sec
        Start  73: sample_deprecated
 73/176 Test  #73: sample_deprecated ..................................................***Failed    0.09 sec
        Start  74: sample_derived
 74/176 Test  #74: sample_derived .....................................................***Failed    0.11 sec
        Start  75: sample_duck_punching
 75/176 Test  #75: sample_duck_punching ...............................................***Failed    0.12 sec
        Start  76: sample_echo
 76/176 Test  #76: sample_echo ........................................................***Failed    0.10 sec
        Start  77: sample_enum
 77/176 Test  #77: sample_enum ........................................................***Failed    0.11 sec
        Start  78: sample_enumfromremovednamespace
 78/176 Test  #78: sample_enumfromremovednamespace ....................................***Failed    0.10 sec
        Start  79: sample_event_loop_call_virtual
 79/176 Test  #79: sample_event_loop_call_virtual .....................................***Failed    0.12 sec
        Start  80: sample_event_loop_thread
 80/176 Test  #80: sample_event_loop_thread ...........................................***Failed    0.15 sec
        Start  81: sample_exception
 81/176 Test  #81: sample_exception ...................................................***Failed    0.11 sec
        Start  82: sample_filter
 82/176 Test  #82: sample_filter ......................................................***Failed    0.17 sec
        Start  83: sample_handleholder
 83/176 Test  #83: sample_handleholder ................................................***Failed    0.12 sec
        Start  84: sample_hashabletype
 84/176 Test  #84: sample_hashabletype ................................................***Failed    0.10 sec
        Start  85: sample_ignorederefop
 85/176 Test  #85: sample_ignorederefop ...............................................***Failed    0.13 sec
        Start  86: sample_implicitconv_numerical
 86/176 Test  #86: sample_implicitconv_numerical ......................................***Failed    0.11 sec
        Start  87: sample_implicitconv
 87/176 Test  #87: sample_implicitconv ................................................***Failed    0.11 sec
        Start  88: sample_inheritanceandscope
 88/176 Test  #88: sample_inheritanceandscope .........................................***Failed    0.12 sec
        Start  89: sample_injectcode
 89/176 Test  #89: sample_injectcode ..................................................***Failed    0.18 sec
        Start  90: sample_innerclass
 90/176 Test  #90: sample_innerclass ..................................................***Failed    0.10 sec
        Start  91: sample_intlist
 91/176 Test  #91: sample_intlist .....................................................***Failed    0.11 sec
        Start  92: sample_invalid_virtual_return
 92/176 Test  #92: sample_invalid_virtual_return ......................................***Failed    0.18 sec
        Start  93: sample_keep_reference
 93/176 Test  #93: sample_keep_reference ..............................................***Failed    0.12 sec
        Start  94: sample_list
 94/176 Test  #94: sample_list ........................................................***Failed    0.12 sec
        Start  95: sample_lock
 95/176 Test  #95: sample_lock ........................................................***Failed    0.10 sec
        Start  96: sample_map
 96/176 Test  #96: sample_map .........................................................***Failed    0.16 sec
        Start  97: sample_metaclass
 97/176 Test  #97: sample_metaclass ...................................................***Failed    0.19 sec
        Start  98: sample_mi_virtual_methods
 98/176 Test  #98: sample_mi_virtual_methods ..........................................***Failed    0.16 sec
        Start  99: sample_mixed_mi
 99/176 Test  #99: sample_mixed_mi ....................................................***Failed    0.11 sec
        Start 100: sample_modelindex
100/176 Test #100: sample_modelindex ..................................................***Failed    0.13 sec
        Start 101: sample_modelview
101/176 Test #101: sample_modelview ...................................................***Failed    0.15 sec
        Start 102: sample_modifications
102/176 Test #102: sample_modifications ...............................................***Failed    0.19 sec
        Start 103: sample_modified_constructor
103/176 Test #103: sample_modified_constructor ........................................***Failed    0.21 sec
        Start 104: sample_modifiedvirtualmethods
104/176 Test #104: sample_modifiedvirtualmethods ......................................***Failed    0.14 sec
        Start 105: sample_multi_cpp_inheritance
105/176 Test #105: sample_multi_cpp_inheritance .......................................***Failed    0.14 sec
        Start 106: sample_multiple_derived
106/176 Test #106: sample_multiple_derived ............................................***Failed    0.20 sec
        Start 107: sample_namespace
107/176 Test #107: sample_namespace ...................................................***Failed    0.18 sec
        Start 108: sample_newdivision
108/176 Test #108: sample_newdivision .................................................***Failed    0.11 sec
        Start 109: sample_nondefaultctor
109/176 Test #109: sample_nondefaultctor ..............................................***Failed    0.15 sec
        Start 110: sample_nontypetemplate
110/176 Test #110: sample_nontypetemplate .............................................***Failed    0.43 sec
        Start 111: sample_nonzero
111/176 Test #111: sample_nonzero .....................................................***Failed    0.14 sec
        Start 112: sample_numericaltypedef
112/176 Test #112: sample_numericaltypedef ............................................***Failed    0.14 sec
        Start 113: sample_numpy
113/176 Test #113: sample_numpy .......................................................***Failed    0.32 sec
        Start 114: sample_objecttype
114/176 Test #114: sample_objecttype ..................................................***Failed    0.14 sec
        Start 115: sample_objecttype_with_named_args
115/176 Test #115: sample_objecttype_with_named_args ..................................***Failed    0.12 sec
        Start 116: sample_objecttypebyvalue
116/176 Test #116: sample_objecttypebyvalue ...........................................***Failed    0.12 sec
        Start 117: sample_objecttypelayout
117/176 Test #117: sample_objecttypelayout ............................................***Failed    0.04 sec
        Start 118: sample_objecttypeoperators
118/176 Test #118: sample_objecttypeoperators .........................................***Failed    0.04 sec
        Start 119: sample_objecttypereferenceasvirtualmethodargument
119/176 Test #119: sample_objecttypereferenceasvirtualmethodargument ..................***Failed    0.04 sec
        Start 120: sample_oddbool
120/176 Test #120: sample_oddbool .....................................................***Failed    0.04 sec
        Start 121: sample_oldstyleclass_as_number
121/176 Test #121: sample_oldstyleclass_as_number .....................................***Failed    0.04 sec
        Start 122: sample_onlycopyclass
122/176 Test #122: sample_onlycopyclass ...............................................***Failed    0.04 sec
        Start 123: sample_overflow
123/176 Test #123: sample_overflow ....................................................***Failed    0.04 sec
        Start 124: sample_overload_sorting
124/176 Test #124: sample_overload_sorting ............................................***Failed    0.04 sec
        Start 125: sample_overload
125/176 Test #125: sample_overload ....................................................***Failed    0.04 sec
        Start 126: sample_overloadwithdefault
126/176 Test #126: sample_overloadwithdefault .........................................***Failed    0.04 sec
        Start 127: sample_ownership_argument_invalidation
127/176 Test #127: sample_ownership_argument_invalidation .............................***Failed    0.04 sec
        Start 128: sample_ownership_delete_child_in_cpp
128/176 Test #128: sample_ownership_delete_child_in_cpp ...............................***Failed    0.06 sec
        Start 129: sample_ownership_delete_child_in_python
129/176 Test #129: sample_ownership_delete_child_in_python ............................***Failed    0.04 sec
        Start 130: sample_ownership_delete_parent
130/176 Test #130: sample_ownership_delete_parent .....................................***Failed    0.04 sec
        Start 131: sample_ownership_invalidate_after_use
131/176 Test #131: sample_ownership_invalidate_after_use ..............................***Failed    0.04 sec
        Start 132: sample_ownership_invalidate_child
132/176 Test #132: sample_ownership_invalidate_child ..................................***Failed    0.04 sec
        Start 133: sample_ownership_invalidate_nonpolymorphic
133/176 Test #133: sample_ownership_invalidate_nonpolymorphic .........................***Failed    0.04 sec
        Start 134: sample_ownership_invalidate_parent
134/176 Test #134: sample_ownership_invalidate_parent .................................***Failed    0.04 sec
        Start 135: sample_ownership_reparenting
135/176 Test #135: sample_ownership_reparenting .......................................***Failed    0.05 sec
        Start 136: sample_ownership_transference
136/176 Test #136: sample_ownership_transference ......................................***Failed    0.04 sec
        Start 137: sample_pair
137/176 Test #137: sample_pair ........................................................***Failed    0.04 sec
        Start 138: sample_pen
138/176 Test #138: sample_pen .........................................................***Failed    0.04 sec
        Start 139: sample_point
139/176 Test #139: sample_point .......................................................***Failed    0.04 sec
        Start 140: sample_pointerholder
140/176 Test #140: sample_pointerholder ...............................................***Failed    0.04 sec
        Start 141: sample_pointerprimitivetype
141/176 Test #141: sample_pointerprimitivetype ........................................***Failed    0.05 sec
        Start 142: sample_pointf
142/176 Test #142: sample_pointf ......................................................***Failed    0.07 sec
        Start 143: sample_primitivereferenceargument
143/176 Test #143: sample_primitivereferenceargument ..................................***Failed    0.07 sec
        Start 144: sample_privatector
144/176 Test #144: sample_privatector .................................................***Failed    0.08 sec
        Start 145: sample_privatedtor
145/176 Test #145: sample_privatedtor .................................................***Failed    0.08 sec
        Start 146: sample_protected
146/176 Test #146: sample_protected ...................................................***Failed    0.08 sec
        Start 147: sample_pstrlist
147/176 Test #147: sample_pstrlist ....................................................***Failed    0.08 sec
        Start 148: sample_pystr
148/176 Test #148: sample_pystr .......................................................***Failed    0.10 sec
        Start 149: sample_python_thread
149/176 Test #149: sample_python_thread ...............................................***Failed    0.18 sec
        Start 150: sample_receive_null_cstring
150/176 Test #150: sample_receive_null_cstring ........................................***Failed    0.15 sec
        Start 151: sample_reference
151/176 Test #151: sample_reference ...................................................***Failed    0.13 sec
        Start 152: sample_referencetopointer
152/176 Test #152: sample_referencetopointer ..........................................***Failed    0.08 sec
        Start 153: sample_return_null
153/176 Test #153: sample_return_null .................................................***Failed    0.08 sec
        Start 154: sample_richcompare
154/176 Test #154: sample_richcompare .................................................***Failed    0.08 sec
        Start 155: sample_sample
155/176 Test #155: sample_sample ......................................................***Failed    0.08 sec
        Start 156: sample_simplefile
156/176 Test #156: sample_simplefile ..................................................***Failed    0.08 sec
        Start 157: sample_size
157/176 Test #157: sample_size ........................................................***Failed    0.08 sec
        Start 158: sample_static_nonstatic_methods
158/176 Test #158: sample_static_nonstatic_methods ....................................***Failed    0.08 sec
        Start 159: sample_str
159/176 Test #159: sample_str .........................................................***Failed    0.08 sec
        Start 160: sample_strlist
160/176 Test #160: sample_strlist .....................................................***Failed    0.08 sec
        Start 161: sample_templateinheritingclass
161/176 Test #161: sample_templateinheritingclass .....................................***Failed    0.10 sec
        Start 162: sample_time
162/176 Test #162: sample_time ........................................................***Failed    0.08 sec
        Start 163: sample_transform
163/176 Test #163: sample_transform ...................................................***Failed    0.08 sec
        Start 164: sample_typeconverters
164/176 Test #164: sample_typeconverters ..............................................***Failed    0.09 sec
        Start 165: sample_typedealloc
165/176 Test #165: sample_typedealloc .................................................***Failed    0.09 sec
        Start 166: sample_typedtordoublefree
166/176 Test #166: sample_typedtordoublefree ..........................................***Failed    0.09 sec
        Start 167: sample_unsafe_parent
167/176 Test #167: sample_unsafe_parent ...............................................***Failed    0.08 sec
        Start 168: sample_useraddedctor
168/176 Test #168: sample_useraddedctor ...............................................***Failed    0.08 sec
        Start 169: sample_virtualdtor
169/176 Test #169: sample_virtualdtor .................................................***Failed    0.09 sec
        Start 170: sample_virtualmethods
170/176 Test #170: sample_virtualmethods ..............................................***Failed    0.08 sec
        Start 171: sample_visibilitychange
171/176 Test #171: sample_visibilitychange ............................................***Failed    0.08 sec
        Start 172: sample_voidholder
172/176 Test #172: sample_voidholder ..................................................***Failed    0.09 sec
        Start 173: sample_weakref
173/176 Test #173: sample_weakref .....................................................***Failed    0.09 sec
        Start 174: sample_writableclassdict
174/176 Test #174: sample_writableclassdict ...........................................***Failed    0.08 sec
        Start 175: shiboken_module
175/176 Test #175: shiboken_module ....................................................***Failed    0.08 sec
        Start 176: smart_smart_pointer
176/176 Test #176: smart_smart_pointer ................................................***Failed    0.08 sec

20% tests passed, 141 tests failed out of 176

Total Test time (real) = 356.75 sec

The following tests FAILED:
     36 - minimal_brace_pattern (Failed)
     37 - minimal_listuser (Failed)
     38 - minimal_minbool (Failed)
     39 - minimal_obj (Failed)
     40 - minimal_typedef (Failed)
     41 - minimal_val (Failed)
     42 - other_collector_external_operator (Failed)
     43 - other_conversion_operator_for_class_without_implicit_conversions (Failed)
     44 - other_extended_multiply_operator (Failed)
     45 - other_module_reload (Failed)
     46 - other_new_ctor_operator (Failed)
     47 - other_objtypehashes (Failed)
     48 - other_otherderived (Failed)
     49 - other_typediscovery (Failed)
     50 - other_usersprimitivefromothermodule (Failed)
     51 - other_wrongctor (Failed)
     52 - sample___del__ (Failed)
     53 - sample_abstract (Failed)
     54 - sample_addedfunction (Failed)
     55 - sample_addedfunction_with_container_args (Failed)
     56 - sample_argumentmodifications (Failed)
     57 - sample_array_numpy (Failed)
     58 - sample_array_sequence (Failed)
     59 - sample_bug_554 (Failed)
     60 - sample_bug_704 (Failed)
     61 - sample_bytearray (Failed)
     62 - sample_child_return (Failed)
     63 - sample_class_fields (Failed)
     64 - sample_collector (Failed)
     65 - sample_complex (Failed)
     66 - sample_conversion_operator (Failed)
     67 - sample_copy (Failed)
     68 - sample_ctorconvrule (Failed)
     69 - sample_cyclic (Failed)
     70 - sample_date (Failed)
     71 - sample_decisor (Failed)
     72 - sample_delete (Failed)
     73 - sample_deprecated (Failed)
     74 - sample_derived (Failed)
     75 - sample_duck_punching (Failed)
     76 - sample_echo (Failed)
     77 - sample_enum (Failed)
     78 - sample_enumfromremovednamespace (Failed)
     79 - sample_event_loop_call_virtual (Failed)
     80 - sample_event_loop_thread (Failed)
     81 - sample_exception (Failed)
     82 - sample_filter (Failed)
     83 - sample_handleholder (Failed)
     84 - sample_hashabletype (Failed)
     85 - sample_ignorederefop (Failed)
     86 - sample_implicitconv_numerical (Failed)
     87 - sample_implicitconv (Failed)
     88 - sample_inheritanceandscope (Failed)
     89 - sample_injectcode (Failed)
     90 - sample_innerclass (Failed)
     91 - sample_intlist (Failed)
     92 - sample_invalid_virtual_return (Failed)
     93 - sample_keep_reference (Failed)
     94 - sample_list (Failed)
     95 - sample_lock (Failed)
     96 - sample_map (Failed)
     97 - sample_metaclass (Failed)
     98 - sample_mi_virtual_methods (Failed)
     99 - sample_mixed_mi (Failed)
    100 - sample_modelindex (Failed)
    101 - sample_modelview (Failed)
    102 - sample_modifications (Failed)
    103 - sample_modified_constructor (Failed)
    104 - sample_modifiedvirtualmethods (Failed)
    105 - sample_multi_cpp_inheritance (Failed)
    106 - sample_multiple_derived (Failed)
    107 - sample_namespace (Failed)
    108 - sample_newdivision (Failed)
    109 - sample_nondefaultctor (Failed)
    110 - sample_nontypetemplate (Failed)
    111 - sample_nonzero (Failed)
    112 - sample_numericaltypedef (Failed)
    113 - sample_numpy (Failed)
    114 - sample_objecttype (Failed)
    115 - sample_objecttype_with_named_args (Failed)
    116 - sample_objecttypebyvalue (Failed)
    117 - sample_objecttypelayout (Failed)
    118 - sample_objecttypeoperators (Failed)
    119 - sample_objecttypereferenceasvirtualmethodargument (Failed)
    120 - sample_oddbool (Failed)
    121 - sample_oldstyleclass_as_number (Failed)
    122 - sample_onlycopyclass (Failed)
    123 - sample_overflow (Failed)
    124 - sample_overload_sorting (Failed)
    125 - sample_overload (Failed)
    126 - sample_overloadwithdefault (Failed)
    127 - sample_ownership_argument_invalidation (Failed)
    128 - sample_ownership_delete_child_in_cpp (Failed)
    129 - sample_ownership_delete_child_in_python (Failed)
    130 - sample_ownership_delete_parent (Failed)
    131 - sample_ownership_invalidate_after_use (Failed)
    132 - sample_ownership_invalidate_child (Failed)
    133 - sample_ownership_invalidate_nonpolymorphic (Failed)
    134 - sample_ownership_invalidate_parent (Failed)
    135 - sample_ownership_reparenting (Failed)
    136 - sample_ownership_transference (Failed)
    137 - sample_pair (Failed)
    138 - sample_pen (Failed)
    139 - sample_point (Failed)
    140 - sample_pointerholder (Failed)
    141 - sample_pointerprimitivetype (Failed)
    142 - sample_pointf (Failed)
    143 - sample_primitivereferenceargument (Failed)
    144 - sample_privatector (Failed)
    145 - sample_privatedtor (Failed)
    146 - sample_protected (Failed)
    147 - sample_pstrlist (Failed)
    148 - sample_pystr (Failed)
    149 - sample_python_thread (Failed)
    150 - sample_receive_null_cstring (Failed)
    151 - sample_reference (Failed)
    152 - sample_referencetopointer (Failed)
    153 - sample_return_null (Failed)
    154 - sample_richcompare (Failed)
    155 - sample_sample (Failed)
    156 - sample_simplefile (Failed)
    157 - sample_size (Failed)
    158 - sample_static_nonstatic_methods (Failed)
    159 - sample_str (Failed)
    160 - sample_strlist (Failed)
    161 - sample_templateinheritingclass (Failed)
    162 - sample_time (Failed)
    163 - sample_transform (Failed)
    164 - sample_typeconverters (Failed)
    165 - sample_typedealloc (Failed)
    166 - sample_typedtordoublefree (Failed)
    167 - sample_unsafe_parent (Failed)
    168 - sample_useraddedctor (Failed)
    169 - sample_virtualdtor (Failed)
    170 - sample_virtualmethods (Failed)
    171 - sample_visibilitychange (Failed)
    172 - sample_voidholder (Failed)
    173 - sample_weakref (Failed)
    174 - sample_writableclassdict (Failed)
    175 - shiboken_module (Failed)
    176 - smart_smart_pointer (Failed)
Errors while running CTest
leycec commented 4 years ago

Hi. I was hoping to grab shiboken2 and pyside2 and put them in Gentoo,

Oh, blessed news!

...but the test failures appear significant.

...oh, bugger. I must confess that I've never actually run these tests myself. The massive failures you've exhibited above are both edifying and terrifying – but probably also ignorable. I and the fine gentle(wo)men at the ::waebbl overlay can assure everyone here that the shiboken2, pyside2, and pyside2-tools ebuilds all behave as expected – and have for the past several years. In particular, ebuilds for:

Clearly, there's a critical disconnect between unit tests in the shiboken2 test suite and the actual real-world robustness of shiboken2. If I had to venture an uneducated guess, it would be that The Qt Company has expanded the shiboken2 test suite to cover future edge cases and feature requests not currently required by PySide2.

Nokia's original vision for shiboken was always as a general-purpose C++ -> Python binding generator deployed by a diverse ecosystem of downstream Python projects – not just PySide. That idyllic utopian vision never happened, of course. PySide2 is still the only downstream Python project to directly leverage shiboken2....to my limited knowledge.

The Qt Company would probably very much like it if multiple projects began requiring shiboken2, as the maintenance burden would then be somewhat shifted off their industrious shoulders and onto the volunteer open-source community as a whole. Ergo, hypothetical shiboken2 unit tests exercising features that PySide2 doesn't currently need but other downstream clients might.

Or maybe the shiboken2 test suite is just totally b0rked. It's hard to see that happening, because this is The Qt Company. All in all, I can only give a noncommittal shrug as depicted here in XML: </noncommittal_shrug>

You might try redirecting this issue to the upstream Qt bug tracker. Ask for Christian Tismer if you do. He's a jolly good Pythonista and always delighted to help the Linux community out.

Thanks for the detailed report all the same, @ZeroChaos-! Always fun to see a fellow DEFCONner lurk out of the shadows. :eyeglasses:

leycec commented 4 years ago

See commentary at #87 with apologies. Cue sad cat face. :crying_cat_face:

ZeroChaos- commented 4 years ago

of note, RESTRICT=test is probably a saner solution than https://github.com/leycec/raiagent/commit/bd40c0ace9b5d9bd07430007a554c3f053365671 while you know the tests are broken. I always hate to remove things knowing they will have to be added back anyway.

leycec commented 4 years ago

Ah-ha! I knew there had to be a simpler way; I'd completely forgotten about that ebuild variable. If only I had known what I now know. I'll promptly revert bd40c0a and add RESTRICT=test to the preamble for these ebuilds, as you suggest.

Teamwork: it's awesome.

leycec commented 4 years ago

Done and done.