Skip to content

test: Enable test logging #10325

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

test: Enable test logging #10325

wants to merge 1 commit into from

Conversation

mnonnenmacher
Copy link
Member

Enable test logging to debug #10312.

Enable test logging to debug #10312.

Signed-off-by: Martin Nonnenmacher <[email protected]>
Copy link

codecov bot commented May 14, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 56.48%. Comparing base (647b3bb) to head (7aa9b65).
Report is 6 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##               main   #10325   +/-   ##
=========================================
  Coverage     56.47%   56.48%           
  Complexity     1610     1610           
=========================================
  Files           331      331           
  Lines         12267    12267           
  Branches       1138     1138           
=========================================
+ Hits           6928     6929    +1     
+ Misses         4896     4895    -1     
  Partials        443      443           
Flag Coverage Δ
funTest-docker 70.89% <ø> (+0.01%) ⬆️
funTest-non-docker 33.61% <ø> (+0.03%) ⬆️
test-ubuntu-24.04 40.36% <ø> (ø)
test-windows-2022 40.33% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@mnonnenmacher
Copy link
Member Author

First attempt got stuck here:

2025-05-14T18:14:09.3430356Z     18:14:09.280 [pool-1-thread-1 @coroutine#15] INFO  org.ossreviewtoolkit.analyzer.PackageManager - GoMod resolved dependencies for path 'src/funTest/assets/projects/synthetic/gomod/dep-without-go-mod-file/go.mod' in 10.051292054s.
2025-05-14T18:14:09.3431806Z 
2025-05-14T18:14:09.3432866Z org.ossreviewtoolkit.plugins.packagemanagers.go.GoModFunTest > Project with a dependency which does not have a 'go.mod' file PASSED
2025-05-14T18:14:09.4326020Z 
2025-05-14T18:14:09.4327543Z 18:14:09.385 [ForkJoinPool-1-worker-1] DEBUG org.eclipse.jgit.internal.util.ShutdownHook - Cleanup org.eclipse.jgit.util.FS$FileStoreAttributes$$Lambda/0x00007f662c351728@7dec7535 during JVM shutdown

logs_38577155544.zip

@mnonnenmacher
Copy link
Member Author

mnonnenmacher commented May 14, 2025

Second and third attempts had a failed test but finished:

Dependencies are detected correctly if the Bazel project has Conan dependencies: org.ossreviewtoolkit.plugins.packagemanagers.bazel.BazelFunTest

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.

1 participant