Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CI][C++][Parquet] test-build-vcpk-win is failing with: 'ThrowsMessage': is not a member of 'testing' #40174

Closed
raulcd opened this issue Feb 21, 2024 · 2 comments · Fixed by #40175

Comments

@raulcd
Copy link
Member

raulcd commented Feb 21, 2024

Describe the bug, including details regarding any error messages, version, and platform.

The test-build-vcpkg-win has been failing with the following error:

D:/a/crossbow/crossbow/arrow/cpp/src/parquet/column_writer_test.cc(486,18): error C2039: 'ThrowsMessage': is not a member of 'testing' [D:\a\crossbow\crossbow\arrow\cpp\build\src\parquet\parquet-writer-test.vcxproj]
D:/a/crossbow/crossbow/arrow/cpp/vcpkg_installed/x64-windows/include\gmock/gmock.h(71): message : see declaration of 'testing' [D:\a\crossbow\crossbow\arrow\cpp\build\src\parquet\parquet-writer-test.vcxproj]
D:/a/crossbow/crossbow/arrow/cpp/src/parquet/column_writer_test.cc(486,1): error C2873: 'ThrowsMessage': symbol cannot be used in a using-declaration [D:\a\crossbow\crossbow\arrow\cpp\build\src\parquet\parquet-writer-test.vcxproj]
D:/a/crossbow/crossbow/arrow/cpp/src/parquet/column_writer_test.cc(921,1): error C2065: 'ThrowsMessage': undeclared identifier [D:\a\crossbow\crossbow\arrow\cpp\build\src\parquet\parquet-writer-test.vcxproj]
D:/a/crossbow/crossbow/arrow/cpp/src/parquet/column_writer_test.cc(921,1): error C2275: 'parquet::ParquetException': illegal use of this type as an expression [D:\a\crossbow\crossbow\arrow\cpp\build\src\parquet\parquet-writer-test.vcxproj]
D:\a\crossbow\crossbow\arrow\cpp\src\parquet/exception.h(87): message : see declaration of 'parquet::ParquetException' [D:\a\crossbow\crossbow\arrow\cpp\build\src\parquet\parquet-writer-test.vcxproj]
D:/a/crossbow/crossbow/arrow/cpp/src/parquet/column_writer_test.cc(921,1): error C2672: 'testing::internal::MakePredicateFormatterFromMatcher': no matching overloaded function found [D:\a\crossbow\crossbow\arrow\cpp\build\src\parquet\parquet-writer-test.vcxproj]
D:/a/crossbow/crossbow/arrow/cpp/src/parquet/column_writer_test.cc(921,1): error C2737: 'gtest_ar': const object must be initialized [D:\a\crossbow\crossbow\arrow\cpp\build\src\parquet\parquet-writer-test.vcxproj]
D:/a/crossbow/crossbow/arrow/cpp/src/parquet/column_writer_test.cc(925,1): error C2065: 'ThrowsMessage': undeclared identifier [D:\a\crossbow\crossbow\arrow\cpp\build\src\parquet\parquet-writer-test.vcxproj]
D:/a/crossbow/crossbow/arrow/cpp/src/parquet/column_writer_test.cc(925,1): error C2275: 'parquet::ParquetException': illegal use of this type as an expression [D:\a\crossbow\crossbow\arrow\cpp\build\src\parquet\parquet-writer-test.vcxproj]
D:\a\crossbow\crossbow\arrow\cpp\src\parquet/exception.h(87): message : see declaration of 'parquet::ParquetException' [D:\a\crossbow\crossbow\arrow\cpp\build\src\parquet\parquet-writer-test.vcxproj]
D:/a/crossbow/crossbow/arrow/cpp/src/parquet/column_writer_test.cc(925,1): error C2672: 'testing::internal::MakePredicateFormatterFromMatcher': no matching overloaded function found [D:\a\crossbow\crossbow\arrow\cpp\build\src\parquet\parquet-writer-test.vcxproj]
D:/a/crossbow/crossbow/arrow/cpp/src/parquet/column_writer_test.cc(925,1): error C2737: 'gtest_ar': const object must be initialized [D:\a\crossbow\crossbow\arrow\cpp\build\src\parquet\parquet-writer-test.vcxproj]
D:/a/crossbow/crossbow/arrow/cpp/src/parquet/column_writer_test.cc(933,1): error C2065: 'ThrowsMessage': undeclared identifier [D:\a\crossbow\crossbow\arrow\cpp\build\src\parquet\parquet-writer-test.vcxproj]
D:/a/crossbow/crossbow/arrow/cpp/src/parquet/column_writer_test.cc(933,1): error C2275: 'parquet::ParquetException': illegal use of this type as an expression [D:\a\crossbow\crossbow\arrow\cpp\build\src\parquet\parquet-writer-test.vcxproj]
D:\a\crossbow\crossbow\arrow\cpp\src\parquet/exception.h(87): message : see declaration of 'parquet::ParquetException' [D:\a\crossbow\crossbow\arrow\cpp\build\src\parquet\parquet-writer-test.vcxproj]
D:/a/crossbow/crossbow/arrow/cpp/src/parquet/column_writer_test.cc(933,1): error C2672: 'testing::internal::MakePredicateFormatterFromMatcher': no matching overloaded function found [D:\a\crossbow\crossbow\arrow\cpp\build\src\parquet\parquet-writer-test.vcxproj]
D:/a/crossbow/crossbow/arrow/cpp/src/parquet/column_writer_test.cc(933,1): error C2737: 'gtest_ar': const object must be initialized [D:\a\crossbow\crossbow\arrow\cpp\build\src\parquet\parquet-writer-test.vcxproj]

This is also happening on the 15.0.1 maintenance branch.
It is related to this change: 5d7f661

Component(s)

C++, Continuous Integration, Parquet

@raulcd
Copy link
Member Author

raulcd commented Feb 21, 2024

cc @mapleFU

@mapleFU
Copy link
Member

mapleFU commented Feb 21, 2024

take

pitrou pushed a commit that referenced this issue Feb 21, 2024
…ng (#40175)

### Rationale for this change

Remove `ThrowsMessage` for CI build.

### What changes are included in this PR?

Remove `ThrowsMessage` for CI build.

### Are these changes tested?

no need

### Are there any user-facing changes?

no

* Closes: #40174

Authored-by: mwish <[email protected]>
Signed-off-by: Antoine Pitrou <[email protected]>
@pitrou pitrou modified the milestones: 15.0.1, 16.0.0 Feb 21, 2024
@raulcd raulcd modified the milestones: 16.0.0, 15.0.1 Feb 22, 2024
raulcd pushed a commit that referenced this issue Feb 22, 2024
…ng (#40175)

### Rationale for this change

Remove `ThrowsMessage` for CI build.

### What changes are included in this PR?

Remove `ThrowsMessage` for CI build.

### Are these changes tested?

no need

### Are there any user-facing changes?

no

* Closes: #40174

Authored-by: mwish <[email protected]>
Signed-off-by: Antoine Pitrou <[email protected]>
raulcd pushed a commit that referenced this issue Feb 22, 2024
…ng (#40175)

### Rationale for this change

Remove `ThrowsMessage` for CI build.

### What changes are included in this PR?

Remove `ThrowsMessage` for CI build.

### Are these changes tested?

no need

### Are there any user-facing changes?

no

* Closes: #40174

Authored-by: mwish <[email protected]>
Signed-off-by: Antoine Pitrou <[email protected]>
zanmato1984 pushed a commit to zanmato1984/arrow that referenced this issue Feb 28, 2024
…building (apache#40175)

### Rationale for this change

Remove `ThrowsMessage` for CI build.

### What changes are included in this PR?

Remove `ThrowsMessage` for CI build.

### Are these changes tested?

no need

### Are there any user-facing changes?

no

* Closes: apache#40174

Authored-by: mwish <[email protected]>
Signed-off-by: Antoine Pitrou <[email protected]>
thisisnic pushed a commit to thisisnic/arrow that referenced this issue Mar 8, 2024
…building (apache#40175)

### Rationale for this change

Remove `ThrowsMessage` for CI build.

### What changes are included in this PR?

Remove `ThrowsMessage` for CI build.

### Are these changes tested?

no need

### Are there any user-facing changes?

no

* Closes: apache#40174

Authored-by: mwish <[email protected]>
Signed-off-by: Antoine Pitrou <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment