You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Wes McKinney (JIRA)" <ji...@apache.org> on 2018/09/17 16:11:00 UTC

[jira] [Resolved] (ARROW-3241) [Plasma] test_plasma_list test failure on Ubuntu 14.04

     [ https://issues.apache.org/jira/browse/ARROW-3241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wes McKinney resolved ARROW-3241.
---------------------------------
    Resolution: Fixed

Resolved by https://github.com/apache/arrow/commit/c698be339b96aeb74763d70de1cf4c8789148824

> [Plasma] test_plasma_list test failure on Ubuntu 14.04
> ------------------------------------------------------
>
>                 Key: ARROW-3241
>                 URL: https://issues.apache.org/jira/browse/ARROW-3241
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Python
>            Reporter: Wes McKinney
>            Assignee: Wes McKinney
>            Priority: Blocker
>             Fix For: 0.11.0
>
>
> This test fails consistently for me on Ubuntu 14.04 / Python 3.6.5
> {code}
> pyarrow/tests/test_plasma.py::test_plasma_list FAILED                                                                                                                                   [ 83%]
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> captured stderr >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> Allowing the Plasma store to use up to 0.1GB of memory.
> Starting object store with directory /dev/shm and huge page support disabled
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> traceback >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>     @pytest.mark.plasma
>     def test_plasma_list():
>         import pyarrow.plasma as plasma
>     
>         with plasma.start_plasma_store(
>                 plasma_store_memory=DEFAULT_PLASMA_STORE_MEMORY) \
>                 as (plasma_store_name, p):
>             plasma_client = plasma.connect(plasma_store_name, "", 0)
>     
>             # Test sizes
>             u, _, _ = create_object(plasma_client, 11, metadata_size=7, seal=False)
>             l1 = plasma_client.list()
>             assert l1[u]["data_size"] == 11
>             assert l1[u]["metadata_size"] == 7
>     
>             # Test ref_count
>             v = plasma_client.put(np.zeros(3))
>             l2 = plasma_client.list()
>             # Ref count has already been released
>             assert l2[v]["ref_count"] == 0
>             a = plasma_client.get(v)
>             l3 = plasma_client.list()
> >           assert l3[v]["ref_count"] == 1
> E           assert 0 == 1
> pyarrow/tests/test_plasma.py:825: AssertionError
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> entering PDB >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> > /home/wesm/code/arrow/python/pyarrow/tests/test_plasma.py(825)test_plasma_list()
> -> assert l3[v]["ref_count"] == 1
> {code}



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