You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Antoine Pitrou (Jira)" <ji...@apache.org> on 2021/01/21 16:49:00 UTC

[jira] [Resolved] (ARROW-11320) [C++] Spurious test failure when creating temporary dir

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

Antoine Pitrou resolved ARROW-11320.
------------------------------------
    Fix Version/s: 3.0.0
       Resolution: Fixed

Issue resolved by pull request 9265
[https://github.com/apache/arrow/pull/9265]

> [C++] Spurious test failure when creating temporary dir
> -------------------------------------------------------
>
>                 Key: ARROW-11320
>                 URL: https://issues.apache.org/jira/browse/ARROW-11320
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: C++
>            Reporter: Antoine Pitrou
>            Assignee: Antoine Pitrou
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 3.0.0
>
>          Time Spent: 1h 50m
>  Remaining Estimate: 0h
>
> When running the release verification script, I sometimes get this error:
> {code}
> [----------] 5 tests from TestInt8/TestSparseTensorRoundTrip/0, where TypeParam = arrow::Int8Type
> [ RUN      ] TestInt8/TestSparseTensorRoundTrip/0.WithSparseCOOIndexRowMajor
> /tmp/arrow-3.0.0.4SRpe/apache-arrow-3.0.0/cpp/src/arrow/ipc/tensor_test.cc:53: Failure
> Failed
> '_error_or_value8.status()' failed with IOError: Path already exists: '/tmp/ipc-test-qj6ng827/'
> [  FAILED  ] TestInt8/TestSparseTensorRoundTrip/0.WithSparseCOOIndexRowMajor, where TypeParam = arrow::Int8Type (0 ms)
> [ RUN      ] TestInt8/TestSparseTensorRoundTrip/0.WithSparseCOOIndexColumnMajor
> [       OK ] TestInt8/TestSparseTensorRoundTrip/0.WithSparseCOOIndexColumnMajor (0 ms)
> [ RUN      ] TestInt8/TestSparseTensorRoundTrip/0.WithSparseCSRIndex
> [       OK ] TestInt8/TestSparseTensorRoundTrip/0.WithSparseCSRIndex (0 ms)
> [ RUN      ] TestInt8/TestSparseTensorRoundTrip/0.WithSparseCSCIndex
> [       OK ] TestInt8/TestSparseTensorRoundTrip/0.WithSparseCSCIndex (0 ms)
> [ RUN      ] TestInt8/TestSparseTensorRoundTrip/0.WithSparseCSFIndex
> [       OK ] TestInt8/TestSparseTensorRoundTrip/0.WithSparseCSFIndex (1 ms)
> [----------] 5 tests from TestInt8/TestSparseTensorRoundTrip/0 (1 ms total)
> {code}
> It seems that in some fringe cases, the random generation of temporary directory names produces duplicates. Most likely this means the random generator is getting the same seed from different processes.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)