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

airbyte-ci: embed junit xml reports into user-facing html report #34923

Merged
merged 7 commits into from
Feb 7, 2024

Conversation

postamar
Copy link
Contributor

@postamar postamar commented Feb 6, 2024

Fixes #34039

Tested this locally and with https://github.com/airbytehq/airbyte/actions/runs/7820041779
Expand "java unit tests" or "java integration tests" to see the new goodness:
Screenshot 2024-02-07 at 14 35 46

We can worry about how to make it look at a later date. The original Junit XML format is tolerably readable as long as the system-out and system-err data are indented properly.

Note that gradle does render very pretty html reports but these are not single-page and copying them to a "subfolder" in our GCS bucket will mess with the relative refs in the html. I've given up that route completely in favour of embedding the test reports inside the overall html report. This also has the nice advantage of producing the same results locally vs. remotely.

Copy link

vercel bot commented Feb 6, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
airbyte-docs ⬜️ Ignored (Inspect) Visit Preview Feb 7, 2024 7:18pm

@postamar postamar force-pushed the postamar/airbyte-ci-uploads-gradle-reports branch from 6afb48e to f5468af Compare February 7, 2024 18:10
@postamar postamar changed the title airbyte-ci: upload gradle test reports to gcs airbyte-ci: embed junit xml reports into user-facing html report Feb 7, 2024
@postamar postamar marked this pull request as ready for review February 7, 2024 19:36
@postamar postamar requested a review from a team as a code owner February 7, 2024 19:36
@postamar postamar merged commit fccc1d0 into master Feb 7, 2024
26 checks passed
@postamar postamar deleted the postamar/airbyte-ci-uploads-gradle-reports branch February 7, 2024 19:45
Copy link

sentry-io bot commented Feb 7, 2024

Suspect Issues

This pull request was deployed and Sentry observed the following issues:

  • ‼️ TransportError: Unexpected response from engine: Server error '502 Bad Gateway' for url 'http://127.0.0.1:38451/q... dagger.client._core in execute View Issue
  • ‼️ TransportError: Unexpected response from engine: Server error '502 Bad Gateway' for url 'http://127.0.0.1:41071/q... dagger.client._core in execute View Issue
  • ‼️ TransportError: Unexpected response from engine: Server error '502 Bad Gateway' for url 'http://127.0.0.1:32981/q... dagger.client._core in execute View Issue
  • ‼️ QueryError: lstat build/test-logs/2024-02-15T01:20:15-test: no such file or directory pipelines.airbyte_ci.steps.gradle in _collect_logs View Issue
  • ‼️ TransportError: Unexpected response from engine: Server error '502 Bad Gateway' for url 'http://127.0.0.1:43001/q... pipelines.airbyte_ci.steps.gradle in _collect_logs View Issue

Did you find this useful? React with a 👍 or 👎

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

airbyte-ci: Unable access integration test report generated by airbyte-ci for Java integration tests
2 participants