youki icon indicating copy to clipboard operation
youki copied to clipboard

Time Namespace

Open CheatCodeSam opened this issue 2 months ago • 9 comments

Description

Adding the time namespace.

Type of Change

  • [ ] Bug fix (non-breaking change that fixes an issue)
  • [X] New feature (non-breaking change that adds functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • [ ] Documentation update
  • [ ] Refactoring (no functional changes)
  • [ ] Performance improvement
  • [ ] Test updates
  • [ ] CI/CD related changes
  • [ ] Other (please describe):

Testing

  • [ ] Added new unit tests
  • [x] Added new integration tests
  • [x] Ran existing test suite
  • [x] Tested manually (please provide steps)

Related Issues

Fixes #3259

Additional Context

CheatCodeSam avatar Sep 30 '25 01:09 CheatCodeSam

Hello @saku3, This should be done in terms of implementation. I'm just curious what I should add the integration tests. I have one test where it just checks if a container with a time namespace can be created at all.

CheatCodeSam avatar Oct 16 '25 02:10 CheatCodeSam

Works on my machine :(, using the same binary as the one built by the ci above. Weird fluke? Logs aren't helpful.

CheatCodeSam avatar Oct 18 '25 02:10 CheatCodeSam

Thank you for the implementation. For integration tests, you can refer to the following. https://github.com/opencontainers/runc/blob/main/tests/integration/timens.bats

The oci-validation-go tests occasionally fail, so I think it’s fine not to worry about them for now.”

saku3 avatar Oct 18 '25 02:10 saku3

Integration tests are done, it should be worth checking this out now.

CheatCodeSam avatar Oct 21 '25 02:10 CheatCodeSam

@CheatCodeSam Sorry for the late review. I’d appreciate it if you could resolve the conflicts.

saku3 avatar Nov 29 '25 06:11 saku3

Good to go

CheatCodeSam avatar Nov 29 '25 16:11 CheatCodeSam

@saku3 Could I ask you to review this PR as the first reviewer?

utam0k avatar Dec 06 '25 00:12 utam0k

Sure, I can review it.

saku3 avatar Dec 06 '25 21:12 saku3

Works on my machine, :( This is ready for re-review

CheatCodeSam avatar Dec 09 '25 19:12 CheatCodeSam