Skip to content

Doc test failure (test arrow-avro/src/lib.rs - reader) when verifying avro 56.0.0 RC1 release #8018

@alamb

Description

@alamb

Describe the bug

When verifying the 56.0.0

To Reproduce

./dev/release/verify-release-candidate.sh 56.0.0 1

Then it errors like this

 Doc-tests arrow_avro

running 3 tests
test arrow-avro/src/lib.rs - reader (line 67) ... ok
test arrow-avro/src/codec.rs - codec::Codec::with_utf8view (line 402) ... ok
test arrow-avro/src/lib.rs - reader (line 49) ... FAILED

failures:

---- arrow-avro/src/lib.rs - reader (line 49) stdout ----
Test executable failed (exit status: 101).

stderr:

thread 'main' panicked at arrow-avro/src/lib.rs:9:67:
called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace



failures:
    arrow-avro/src/lib.rs - reader (line 49)

test result: FAILED. 2 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.55s

error: doctest failed, to rerun pass `-p arrow-avro --doc`
+ cleanup
+ '[' no = yes ']'
+ echo 'Failed to verify release candidate. See /var/folders/1l/tg68jc6550gg8xqf1hr4mlwr0000gn/T/arrow-56.0.0.XXXXX.wL8TCA6FBQ for details.'
Failed to verify release candidate. See /var/folders/1l/tg68jc6550gg8xqf1hr4mlwr0000gn/T/arrow-56.0.0.XXXXX.wL8TCA6FBQ for details.

Expected behavior

./dev/release/verify-release-candidate.sh 56.0.0 1

Should pass

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    arrowChanges to the arrow cratebug

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions