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

TODO: Refactor container config #7027

Conversation

ldelossa
Copy link

This commit handle the TODO task of breaking the Container
config into smaller sub-configs.

Signed-off-by: ldelossa [email protected]

@ldelossa
Copy link
Author

/assign @baude

looks like test failed, but a gating test on a file not affiliated with this change.

@rhatdan
Copy link
Member

rhatdan commented Jul 20, 2020

@mheon PTAL

@mheon
Copy link
Member

mheon commented Jul 20, 2020

Ah, I think you broke some test functions that want to make Container structs - looks like container_internal_test.go container_internal_linux_test.go and common_test.go will need a few fields renamed.

@ldelossa
Copy link
Author

@mheon

Will take a look at fixing 👍

@ldelossa ldelossa force-pushed the louis/refactor-container-config branch from cfae4c2 to 3abdaf9 Compare July 21, 2020 20:42
@ldelossa
Copy link
Author

@mheon

friendly ping, all tests fixed.

@openshift-ci-robot openshift-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jul 22, 2020
@rhatdan
Copy link
Member

rhatdan commented Jul 23, 2020

@ldelossa needs a rebase.

This commit handle the TODO task of breaking the Container
config into smaller sub-configs

Signed-off-by: ldelossa <[email protected]>
@ldelossa ldelossa force-pushed the louis/refactor-container-config branch from 3abdaf9 to 10c4ab1 Compare July 23, 2020 14:18
@openshift-ci-robot openshift-ci-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jul 23, 2020
@ldelossa
Copy link
Author

Done. Updated a few Container method comments for completeness along the way.

@mheon
Copy link
Member

mheon commented Jul 23, 2020

We really need to do a pass over comments on individual fields in the structs, but that's a lot of work and can happen later.
LGTM once things go green.
/approve

@openshift-ci-robot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ldelossa, mheon

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 23, 2020
@ldelossa
Copy link
Author

@mheon As I am just getting acquainted with this code base, if you have an idea of a good starting point for a maintenance task like that, creating an issue and assigning it to me would be welcome on my end.

thanks for approval.

@ldelossa
Copy link
Author

looks like all tests passed aside from one, maybe a flake?

@mheon
Copy link
Member

mheon commented Jul 23, 2020

[+0261s] # error opening file `/sys/fs/cgroup//system.slice/buildah-buildah715212271-541317.scope/cgroup.freeze`: No such file or directory
[+0261s] # kill container: No such process

Out of a podman build system test.
@edsantiago Is this a known flake?

@edsantiago
Copy link
Member

Aaaaargh! Yes, it is. A bug in crun which I had hoped would be fixed in CI after #6822 got merged yesterday.

Looking at the failing results, I see crun-0.13-2.fc31-x86_64 which is the known-bad version. What I can't tell is when this run was made, the timestamp is 11:01:48 but (SIGH) there's no date so I don't know if that was yesterday or today. Is there any chance that the failure happened yesterday? Because that would be good. Or at least OK. If it failed today, I will need to dig a lot deeper into this.

@ldelossa
Copy link
Author

@edsantiago

Cirrus CI / test fedora-31 TEST_REMOTE_CLIENT:false started 23m 8s ago

So ~23m ago it failed.

@edsantiago
Copy link
Member

No, that's just the time when the test was restarted. It's still running. I'll check it when it finishes.

@ldelossa
Copy link
Author

got it, my bad.

@edsantiago
Copy link
Member

Test passed, but package versions shows crun 0.13. Looks like crun 0.14 made it only into f32, not f31. I'll pursue that.

@ldelossa
Copy link
Author

This good to get merged?

@mheon
Copy link
Member

mheon commented Jul 27, 2020

Sure, LGTM.
@rhatdan @vrothberg @giuseppe @TomSweeneyRedHat PTAL

@rhatdan
Copy link
Member

rhatdan commented Jul 27, 2020

Thanks @ldelossa LGTM
/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Jul 27, 2020
@openshift-merge-robot openshift-merge-robot merged commit 5e9b54f into containers:master Jul 27, 2020
@github-actions github-actions bot added the locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. label Sep 24, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants