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/06/29 15:03:00 UTC

[jira] [Assigned] (ARROW-11675) [CI][C++] Resolve ctest failures on VS 2019 builds

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

Antoine Pitrou reassigned ARROW-11675:
--------------------------------------

    Assignee: Antoine Pitrou  (was: Ian Cook)

> [CI][C++] Resolve ctest failures on VS 2019 builds
> --------------------------------------------------
>
>                 Key: ARROW-11675
>                 URL: https://issues.apache.org/jira/browse/ARROW-11675
>             Project: Apache Arrow
>          Issue Type: Task
>          Components: C++, CI, Continuous Integration
>            Reporter: Ian Cook
>            Assignee: Antoine Pitrou
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 5.0.0
>
>          Time Spent: 5h 50m
>  Remaining Estimate: 0h
>
> Running {{ctest}} on Windows after building the Arrow library with Visual Studio 2019, I regularly see these two tests fail:
>  * {{TestStatisticsSortOrder/0.MinMax}}
>  * {{TestStatistic.Int32Extremums}}
> Logs look like this:
> {code:java}
> [ RUN      ] TestStatisticsSortOrder/0.MinMax
> D:/a/crossbow/crossbow/arrow/cpp/src/parquet/statistics_test.cc(670): error: Expected equality of these values:
>   stats_[i].min()
>     Which is: "\0\0\0\0"
>   cc_metadata->statistics()->EncodeMin()
>     Which is: "\x3\0\0\0"
> D:/a/crossbow/crossbow/arrow/cpp/src/parquet/statistics_test.cc(838): error: Expected: this->VerifyParquetStats() doesn't generate new fatal failures in the current thread.
>   Actual: it does.
> [  FAILED  ] TestStatisticsSortOrder/0.MinMax, where TypeParam = struct parquet::PhysicalType<1> (1 ms)
> {code}
> {code:java}
> [ RUN      ] TestStatistic.Int32Extremums
> D:/a/crossbow/crossbow/arrow/cpp/src/parquet/statistics_test.cc(900): error: Expected equality of these values:
>   stats->min()
>     Which is: -2147483648
>   expected_min
>     Which is: 0
> [  FAILED  ] TestStatistic.Int32Extremums (0 ms)
> {code}
> This happened in the crossbow task *test-build-vcpkg-win* until I removed {{ctest}} from {{dev/tasks/vcpkg-tests/cpp-build-vcpkg.bat}} to suppress it: [https://github.com/ursacomputing/crossbow/actions?query=branch:actions-99-github-test-build-vcpkg-win]
> This also happened when I ran the release verification script {{dev/release/verify-release-candidate.bat}} on 4.0.0 RC4 using conda for dependencies.
> Diagnose and resolve these failures.



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