Skip to content

GH-40174: [C++][CI][Parquet] Fixing parquet column_writer_test building - #40175

Merged
pitrou merged 1 commit into
apache:mainfrom
mapleFU:minor-build-fix
Feb 21, 2024
Merged

pitrou merged 1 commit into
apache:mainfrom
mapleFU:minor-build-fix

Conversation

@mapleFU

@mapleFU mapleFU commented Feb 21, 2024 •

Copy link
Copy Markdown
Member

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

@mapleFU

mapleFU commented Feb 21, 2024

Copy link
Copy Markdown
Member Author

@raulcd how can I test the specific case? (I don't have windows machine by myside)

@raulcd

raulcd commented Feb 21, 2024

Copy link
Copy Markdown
Member

You can trigger the crossbow build via @github-actions crossbow submit test-build-vcpkg-win

@mapleFU

mapleFU commented Feb 21, 2024

Copy link
Copy Markdown
Member Author

@github-actions crossbow submit test-build-vcpkg-win

@github-actions

Copy link
Copy Markdown

Revision: c707a25

Submitted crossbow builds: ursacomputing/crossbow @ actions-91fdc9af70

Task Status
test-build-vcpkg-win GitHub Actions

@raulcd
raulcd requested a review from pitrou February 21, 2024 10:00

@raulcd raulcd left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The change is fixing the build so I am 👍 but better to get a review from someone with better C++ skills than me :)

@mapleFU

mapleFU commented Feb 21, 2024

Copy link
Copy Markdown
Member Author

https://github.com/google/googletest/blob/5df0241ea4880e5a846775d3efc8b873f7b36c31/googlemock/include/gmock/gmock-matchers.h#L5426

Guess it's a library version problem because it rely on ThrowsMessage ...

@raulcd

raulcd commented Feb 21, 2024

Copy link
Copy Markdown
Member

It seems we have been pinning gtest on this build for a really long time:
#10306
https://github.com/apache/arrow/blob/main/cpp/vcpkg.json#L55

We probably could try to update that.

@raulcd

raulcd commented Feb 21, 2024

Copy link
Copy Markdown
Member

We probably could try to update that.

Probably opening a different issue, not necessarily here

@pitrou pitrou left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting. Perhaps GTEST_HAS_EXCEPTIONS is disabled in some configurations. Regardless, thanks for the fix.

@pitrou
pitrou merged commit 884a109 into apache:main Feb 21, 2024
@mapleFU
mapleFU deleted the minor-build-fix branch February 22, 2024 02:43
raulcd pushed a commit that referenced this pull request 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 <maplewish117@gmail.com>
Signed-off-by: Antoine Pitrou <antoine@python.org>
raulcd pushed a commit that referenced this pull request 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 <maplewish117@gmail.com>
Signed-off-by: Antoine Pitrou <antoine@python.org>
@conbench-apache-arrow

Copy link
Copy Markdown

After merging your PR, Conbench analyzed the 5 benchmarking runs that have been run so far on merge-commit 884a109.

There were no benchmark performance regressions. 🎉

The full Conbench report has more details. It also includes information about 6 possible false positives for unstable benchmarks that are known to sometimes produce them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

3 participants