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

GH-39327: [Java] define assemble descriptor for new custom maven plugin project #39331

Merged
merged 5 commits into from
Jan 2, 2024

Conversation

davisusanibar
Copy link
Contributor

@davisusanibar davisusanibar commented Dec 20, 2023

Rationale for this change

To closes #39327

What changes are included in this PR?

GitHub CI validation needs to run assembly:single for that reason is needed to setup a descriptor ref. In the case of this maven plugin, I only propose to include "src" as part of the resources.

Are these changes tested?

Yes, by

mvn clean \
    install \
    assembly:single \
    source:jar \
    javadoc:jar \
    -Papache-release \
    -DdescriptorId=source-release

Are there any user-facing changes?

No.

@davisusanibar
Copy link
Contributor Author

@github-actions crossbow submit java

Copy link

Unable to match any tasks for `java`
The Archery job run can be found at: https://github.com/apache/arrow/actions/runs/7281925382

@davisusanibar
Copy link
Contributor Author

@github-actions crossbow submit java-jars

Copy link

Revision: 59c95c4

Submitted crossbow builds: ursacomputing/crossbow @ actions-a241771615

Task Status
java-jars GitHub Actions

java/maven/pom.xml Outdated Show resolved Hide resolved
@github-actions github-actions bot added awaiting changes Awaiting changes and removed awaiting review Awaiting review labels Dec 20, 2023
Co-authored-by: Sutou Kouhei <[email protected]>
@github-actions github-actions bot added awaiting change review Awaiting change review and removed awaiting changes Awaiting changes labels Dec 20, 2023
@davisusanibar
Copy link
Contributor Author

Could you please help me retry Build C++ libraries Ubuntu aarch64? @lidavidm / @kou

Current error:


The following tests FAILED:
	 53 - arrow-dataset-dataset-writer-test (Failed)
Error: `docker-compose --file /runner/_work/crossbow/crossbow/arrow/docker-compose.yml run --rm -e ARROW_JAVA_BUILD=OFF -e ARROW_JAVA_TEST=OFF java-jni-manylinux-2014` exited with a non-zero exit code 8, see the process log above.

@kou
Copy link
Member

kou commented Dec 21, 2023

Retried!

@davisusanibar
Copy link
Contributor Author

Retried!

Well, there will be an issue with Build C++ libraries in Ubuntu aarch64. Is there any issue related to that?

@davisusanibar
Copy link
Contributor Author

@github-actions crossbow submit java-jars

@davisusanibar
Copy link
Contributor Author

Retried!

Well, there will be an issue with Build C++ libraries in Ubuntu aarch64. Is there any issue related to that?

Exclude failing tests to test the PR's scope

Copy link

Revision: 8d7c6bc

Submitted crossbow builds: ursacomputing/crossbow @ actions-4b8dd60adf

Task Status
java-jars GitHub Actions

@kou
Copy link
Member

kou commented Dec 21, 2023

Well, there will be an issue with Build C++ libraries in Ubuntu aarch64. Is there any issue related to that?

#39326

@@ -115,7 +115,7 @@ if [ "${ARROW_BUILD_TESTS}" = "ON" ]; then
# ImportError: ../grpc/_cython/cygrpc.cpython-38-aarch64-linux-gnu.so:
# undefined symbol: vtable for std::__cxx11::basic_ostringstream<
# char, std::char_traits<char>, std::allocator<char> >
exclude_tests="${exclude_tests}|arrow-gcsfs-test"
exclude_tests="${exclude_tests}|arrow-gcsfs-test|arrow-dataset-dataset-writer-test"
Copy link
Member

Choose a reason for hiding this comment

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

nit: can you link the GitHub issue explaining why we are skipping this test?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It is a temporary workaround that only applies to testing this PR's scope. I think we should wait until #39326 is resolved. Please let me know if this sound great for you, or, do we should push this PR with this exclude test to main branch?

Copy link
Member

Choose a reason for hiding this comment

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

Are we sure #39326 will be resolved in time?

@github-actions github-actions bot added awaiting merge Awaiting merge awaiting changes Awaiting changes and removed awaiting change review Awaiting change review awaiting merge Awaiting merge labels Dec 21, 2023
@github-actions github-actions bot added awaiting change review Awaiting change review and removed awaiting changes Awaiting changes labels Dec 29, 2023
@davisusanibar
Copy link
Contributor Author

@github-actions crossbow submit java-jars

Copy link

Revision: 60949fa

Submitted crossbow builds: ursacomputing/crossbow @ actions-0754aae5ab

Task Status
java-jars GitHub Actions

@davisusanibar
Copy link
Contributor Author

@github-actions crossbow submit java-jar

Copy link

Unable to match any tasks for `java-jar`
The Archery job run can be found at: https://github.com/apache/arrow/actions/runs/7358145715

@davisusanibar
Copy link
Contributor Author

@github-actions crossbow submit java-jars

Copy link

Revision: 17bafae

Submitted crossbow builds: ursacomputing/crossbow @ actions-b3464c02d1

Task Status
java-jars GitHub Actions

Copy link
Member

@kou kou left a comment

Choose a reason for hiding this comment

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

+1

I can't review whether this approach is optimal or not but CI is green.

@github-actions github-actions bot added awaiting merge Awaiting merge and removed awaiting change review Awaiting change review labels Dec 30, 2023
@lidavidm lidavidm merged commit 6b32b6d into apache:main Jan 2, 2024
16 of 17 checks passed
@lidavidm lidavidm removed the awaiting merge Awaiting merge label Jan 2, 2024
@github-actions github-actions bot added the awaiting merge Awaiting merge label Jan 2, 2024
Copy link

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

There were no benchmark performance regressions. 🎉

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

clayburn pushed a commit to clayburn/arrow that referenced this pull request Jan 23, 2024
…n plugin project (apache#39331)

### Rationale for this change

To closes apache#39327

### What changes are included in this PR?

GitHub CI validation needs to [run](https://github.com/apache/arrow/blob/main/ci/scripts/java_full_build.sh#L52) `assembly:single` for that reason is needed to setup a descriptor ref. In the case of this maven plugin, I only propose to include "src" as part of the resources.

### Are these changes tested?

Yes, by 
````
mvn clean \
    install \
    assembly:single \
    source:jar \
    javadoc:jar \
    -Papache-release \
    -DdescriptorId=source-release
````

### Are there any user-facing changes?

No.

* Closes: apache#39327

Lead-authored-by: david dali susanibar arce <[email protected]>
Co-authored-by: Sutou Kouhei <[email protected]>
Signed-off-by: David Li <[email protected]>
dgreiss pushed a commit to dgreiss/arrow that referenced this pull request Feb 19, 2024
…n plugin project (apache#39331)

### Rationale for this change

To closes apache#39327

### What changes are included in this PR?

GitHub CI validation needs to [run](https://github.com/apache/arrow/blob/main/ci/scripts/java_full_build.sh#L52) `assembly:single` for that reason is needed to setup a descriptor ref. In the case of this maven plugin, I only propose to include "src" as part of the resources.

### Are these changes tested?

Yes, by 
````
mvn clean \
    install \
    assembly:single \
    source:jar \
    javadoc:jar \
    -Papache-release \
    -DdescriptorId=source-release
````

### Are there any user-facing changes?

No.

* Closes: apache#39327

Lead-authored-by: david dali susanibar arce <[email protected]>
Co-authored-by: Sutou Kouhei <[email protected]>
Signed-off-by: David Li <[email protected]>
zanmato1984 pushed a commit to zanmato1984/arrow that referenced this pull request Feb 28, 2024
…n plugin project (apache#39331)

### Rationale for this change

To closes apache#39327

### What changes are included in this PR?

GitHub CI validation needs to [run](https://github.com/apache/arrow/blob/main/ci/scripts/java_full_build.sh#L52) `assembly:single` for that reason is needed to setup a descriptor ref. In the case of this maven plugin, I only propose to include "src" as part of the resources.

### Are these changes tested?

Yes, by 
````
mvn clean \
    install \
    assembly:single \
    source:jar \
    javadoc:jar \
    -Papache-release \
    -DdescriptorId=source-release
````

### Are there any user-facing changes?

No.

* Closes: apache#39327

Lead-authored-by: david dali susanibar arce <[email protected]>
Co-authored-by: Sutou Kouhei <[email protected]>
Signed-off-by: David Li <[email protected]>
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.

[Java][CI] java-jars CI job is failing on the maven plugin
3 participants