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

v-e-c: print debug logging at bottom of output #1791

Closed
wants to merge 1 commit into from

Conversation

mbestavros
Copy link
Contributor

Ref: https://issues.redhat.com/browse/EC-565

Simple change to the verify-enterprise-contract Task that should capture debug output in a file, then print it at the bottom of the output.

This hasn't been tested, so I'm submitting it as a draft.

cc @zregvart

@mbestavros mbestavros requested a review from zregvart July 25, 2024 20:03
Copy link

codecov bot commented Jul 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.76%. Comparing base (124382d) to head (485b04f).
Report is 164 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #1791   +/-   ##
=======================================
  Coverage   80.76%   80.76%           
=======================================
  Files          68       68           
  Lines        4918     4918           
=======================================
  Hits         3972     3972           
  Misses        946      946           
Flag Coverage Δ
generative 80.76% <ø> (ø)
integration 80.76% <ø> (ø)
unit 80.76% <ø> (ø)

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

@lcarva
Copy link
Member

lcarva commented Jul 25, 2024

I believe @zregvart is addressing this in #1769

@zregvart
Copy link
Member

Yeah, I kinda lumped a bunch of issues into #1769, 27e871a (#1769) adds --logfile and 751f2e5 (#1769) uses it to output the debug logs at the bottom of the Task logs

Comment on lines +190 to +191
- "2>"
- "debug.log"
Copy link
Member

Choose a reason for hiding this comment

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

We can't use shell redirects here, these are arguments passed to ec directly, not a shell invocation...

@lcarva
Copy link
Member

lcarva commented Sep 3, 2024

Done in #1769. Let's close it.

@lcarva lcarva closed this Sep 3, 2024
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.

3 participants