Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@ardaguclu
Copy link
Contributor

@ardaguclu ardaguclu commented Apr 1, 2021

What type of PR is this?

/kind cleanup

What this PR does / why we need it:

As stated in the issue, internal/log package stores more information than logrus and functions including context parameter should use internal/log package instead logrus.

Which issue(s) this PR fixes:

Fixes #4660

Does this PR introduce a user-facing change?

None

@ardaguclu ardaguclu requested review from mrunalp and runcom as code owners April 1, 2021 13:03
@openshift-ci-robot openshift-ci-robot added dco-signoff: no Indicates the PR's author has not DCO signed all their commits. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. do-not-merge/release-note-label-needed Indicates that a PR should not merge because it's missing one of the release note labels. labels Apr 1, 2021
@openshift-ci-robot
Copy link

Hi @ardaguclu. Thanks for your PR.

I'm waiting for a cri-o member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@openshift-ci-robot openshift-ci-robot added needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. release-note-none Denotes a PR that doesn't merit a release note. and removed do-not-merge/release-note-label-needed Indicates that a PR should not merge because it's missing one of the release note labels. labels Apr 1, 2021
@ardaguclu ardaguclu force-pushed the use-internal-logging branch 2 times, most recently from 72710f8 to 9a6b82e Compare April 1, 2021 13:52
@openshift-ci-robot openshift-ci-robot added dco-signoff: yes Indicates the PR's author has DCO signed all their commits. and removed dco-signoff: no Indicates the PR's author has not DCO signed all their commits. labels Apr 1, 2021
@ardaguclu ardaguclu force-pushed the use-internal-logging branch from 9a6b82e to 40e1de4 Compare April 1, 2021 14:20
@codecov
Copy link

codecov bot commented Apr 1, 2021

Codecov Report

Merging #4714 (806f677) into master (ec8716f) will decrease coverage by 0.00%.
The diff coverage is 6.66%.

❗ Current head 806f677 differs from pull request most recent head 975ffc6. Consider uploading reports for the commit 975ffc6 to get more accurate results

@@            Coverage Diff             @@
##           master    #4714      +/-   ##
==========================================
- Coverage   41.41%   41.40%   -0.01%     
==========================================
  Files         105      105              
  Lines        9360     9361       +1     
==========================================
  Hits         3876     3876              
- Misses       5038     5039       +1     
  Partials      446      446              

@ardaguclu
Copy link
Contributor Author

/assign @haircommander

@haircommander
Copy link
Member

/ok-to-test

thanks for taking this on @ardaguclu !

I think it may benefit you to rebase on top of #4678, as I believe there are conflicts

@openshift-ci-robot openshift-ci-robot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Apr 1, 2021
@fidencio
Copy link
Contributor

fidencio commented Apr 1, 2021

LGTM, but needs a rebase, which I'd say to wait for @saschagrunert's feedback (most likely next week, due to the easter break) before doing it.

@TomSweeneyRedHat
Copy link
Contributor

LGTM
assuming happy tests and a head nod from @saschagrunert

@ardaguclu ardaguclu force-pushed the use-internal-logging branch from 40e1de4 to abfca3f Compare April 2, 2021 06:30
@openshift-ci-robot openshift-ci-robot added dco-signoff: no Indicates the PR's author has not DCO signed all their commits. and removed dco-signoff: yes Indicates the PR's author has DCO signed all their commits. labels Apr 2, 2021
@ardaguclu ardaguclu force-pushed the use-internal-logging branch from abfca3f to 975ffc6 Compare April 2, 2021 06:31
@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

1 similar comment
@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@saschagrunert
Copy link
Member

/hold

@openshift-ci-robot openshift-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Apr 7, 2021
@haircommander
Copy link
Member

/retest
/hold cancel

@openshift-ci-robot openshift-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Apr 7, 2021
@haircommander haircommander added this to the 1.21 milestone Apr 7, 2021
@haircommander
Copy link
Member

/override ci/openshift-jenkins/critest_fedora
/override ci/openshift-jenkins/critest_rhel

gh actions critest passed

@openshift-ci-robot
Copy link

@haircommander: Overrode contexts on behalf of haircommander: ci/openshift-jenkins/critest_fedora, ci/openshift-jenkins/critest_rhel

Details

In response to this:

/override ci/openshift-jenkins/critest_fedora
/override ci/openshift-jenkins/critest_rhel

gh actions critest passed

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

It("should not error log", func() {
// Given
// When
log.Errorf(ctx, msg)
Copy link
Member

Choose a reason for hiding this comment

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

nit: I don't think this function does what we want it to

@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

2 similar comments
@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@haircommander
Copy link
Member

/override ci/openshift-jenkins/critest_rhel
/override ci/openshift-jenkins/critest_fedora

@openshift-ci-robot
Copy link

@haircommander: Overrode contexts on behalf of haircommander: ci/openshift-jenkins/critest_fedora, ci/openshift-jenkins/critest_rhel

Details

In response to this:

/override ci/openshift-jenkins/critest_rhel
/override ci/openshift-jenkins/critest_fedora

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

2 similar comments
@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@haircommander
Copy link
Member

/override ci/openshift-jenkins/critest_fedora
/override ci/openshift-jenkins/critest_rhel

@openshift-ci-robot
Copy link

@haircommander: Overrode contexts on behalf of haircommander: ci/openshift-jenkins/critest_fedora, ci/openshift-jenkins/critest_rhel

Details

In response to this:

/override ci/openshift-jenkins/critest_fedora
/override ci/openshift-jenkins/critest_rhel

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@haircommander
Copy link
Member

/override ci/prow/e2e-gcp
(got e2e-agnositc)

@openshift-ci-robot
Copy link

@haircommander: Overrode contexts on behalf of haircommander: ci/prow/e2e-gcp

Details

In response to this:

/override ci/prow/e2e-gcp
(got e2e-agnositc)

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

2 similar comments
@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Apr 9, 2021

@ardaguclu: The following tests failed, say /retest to rerun all failed tests:

Test name Commit Details Rerun command
ci/openshift-jenkins/e2e_crun_cgroupv2 975ffc6 link /test e2e_cgroupv2
ci/openshift-jenkins/integration_crun_cgroupv2 975ffc6 link /test integration_cgroupv2

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-merge-robot openshift-merge-robot merged commit 8118d4a into cri-o:master Apr 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. dco-signoff: yes Indicates the PR's author has DCO signed all their commits. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. lgtm Indicates that a PR is ready to be merged. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. release-note-none Denotes a PR that doesn't merit a release note.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

use internal logging package where appropriate

8 participants