[ 
https://issues.apache.org/jira/browse/ARROW-2377?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16423323#comment-16423323
 ] 

Kouhei Sutou commented on ARROW-2377:
-------------------------------------

Ah, I've released a new version of gobject-introspection gem. It improves 
arguments validation.
Old GObject Introspection (in Ubuntu 14.04 package) doesn't have some features 
related to arguments validation yet.

I've changed test to work with old GObject Introspection.

> [GLib] Travis-CI failures
> -------------------------
>
>                 Key: ARROW-2377
>                 URL: https://issues.apache.org/jira/browse/ARROW-2377
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Continuous Integration, GLib
>            Reporter: Antoine Pitrou
>            Priority: Major
>              Labels: pull-request-available
>
> See this (empty) PR:
> https://github.com/apache/arrow/pull/1822
> It results in failures on the GLib builds:
> https://travis-ci.org/apache/arrow/builds/361145322
> {code}================================================================================
> /home/travis/build/apache/arrow/c_glib/test/test-list-array.rb:24:in 
> `test_new'
>      21:   def test_new
>      22:     value_offsets = Arrow::Buffer.new([0, 2, 5, 5].pack("l*"))
>      23:     data = Arrow::Buffer.new([1, 2, 3, 4, 5].pack("c*"))
>   => 24:     values = Arrow::Int8Array.new(5, data, nil, 0)
>      25:     assert_equal(build_list_array(Arrow::Int8DataType.new,
>      26:                                   [[1, 2], [3, 4, 5], nil]),
>      27:                  Arrow::ListArray.new(3,
> /home/travis/build/apache/arrow/c_glib/test/test-list-array.rb:24:in `new'
> /home/travis/.rvm/gems/ruby-2.4.1/gems/gobject-introspection-3.2.2/lib/gobject-introspection/loader.rb:328:in
>  `block in load_constructor_infos'
> /home/travis/.rvm/gems/ruby-2.4.1/gems/gobject-introspection-3.2.2/lib/gobject-introspection/loader.rb:317:in
>  `block (2 levels) in load_constructor_infos'
> /home/travis/.rvm/gems/ruby-2.4.1/gems/gobject-introspection-3.2.2/lib/gobject-introspection/loader.rb:317:in
>  `invoke'
> Error: test_new(TestListArray): ArgumentError: <Arrow::Int8Array#new>: the 
> 2nd argument must not nil: <null_bitmap>
> ================================================================================
> ...........................................E
> ================================================================================
> /home/travis/build/apache/arrow/c_glib/test/test-struct-array.rb:41:in 
> `test_new'
>      38: 
>      39:     data_type = Arrow::StructDataType.new(fields)
>      40:     children = [
>   => 41:       Arrow::Int8Array.new(2, Arrow::Buffer.new([-29, 
> 2].pack("C*")), nil, 0),
>      42:       Arrow::BooleanArray.new(2, 
> Arrow::Buffer.new([0b01].pack("C*")), nil, 0),
>      43:     ]
>      44:     assert_equal(struct_array1,
> /home/travis/build/apache/arrow/c_glib/test/test-struct-array.rb:41:in `new'
> /home/travis/.rvm/gems/ruby-2.4.1/gems/gobject-introspection-3.2.2/lib/gobject-introspection/loader.rb:328:in
>  `block in load_constructor_infos'
> /home/travis/.rvm/gems/ruby-2.4.1/gems/gobject-introspection-3.2.2/lib/gobject-introspection/loader.rb:317:in
>  `block (2 levels) in load_constructor_infos'
> /home/travis/.rvm/gems/ruby-2.4.1/gems/gobject-introspection-3.2.2/lib/gobject-introspection/loader.rb:317:in
>  `invoke'
> Error: test_new(TestStructArray): ArgumentError: <Arrow::Int8Array#new>: the 
> 2nd argument must not nil: <null_bitmap>
> ================================================================================
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to