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

Andrew Lamb commented on ARROW-10943:
-------------------------------------

Some data: 

I can reproduce this error regularly, though non deterministically, by running 
the tests in a loop with a shell script such as:

{code}
#!/bin/bash
# run a command in a loop

cd /Users/alamb/Software/arrow2/rust
export PARQUET_TEST_DATA=`pwd`/../cpp/submodules/parquet-testing/data
export ARROW_TEST_DATA=`pwd`/../testing/data

i=0
while true; do
    echo "iteration $i"
    cargo test -p parquet  -- test_bool
    i=$((i+1))
done
{code}

I am going to try this approach with [[email protected]]'s PR 8948

cc [~andygrove]

> [Rust] Intermittent build failure in parquet encoding
> -----------------------------------------------------
>
>                 Key: ARROW-10943
>                 URL: https://issues.apache.org/jira/browse/ARROW-10943
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Rust
>            Reporter: Andy Grove
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> I saw this test failure locally
> {code:java}
> ---- encodings::encoding::tests::test_bool stdout ----
> thread 'encodings::encoding::tests::test_bool' panicked at 'Invalid byte when 
> reading bool', parquet/src/util/bit_util.rs:73:18
>  {code}
> I ran "cargo test" again and it passed
>  
> We have seen this happen in CI as well



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

Reply via email to