-
Notifications
You must be signed in to change notification settings - Fork 141
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
runtimespec VS ocitools #66
Comments
The original chart is done by @RobDolinMS, I just convert it to markdown format. There are still missing items. for some of them, I add [WIP] link after toggle button. (sorry, I just list mine) |
This list is lovely :). Initial notes: On Fri, May 13, 2016 at 02:14:55AM -0700, 梁辰晔 (Liang Chenye) wrote:
You have this checked off now, but I'm not sure how we enforce that
These are going to be impossible to test until we specify how errors
This is going to be impossible to test until we specify “within the
This section is obsolete since 5.
|
sorry, it is not checked off in my local document. I'll correct it.
In my WIP pr, I simply check if there is 'an' error. |
On Sun, May 15, 2016 at 07:35:25PM -0700, David Liang wrote:
Code links are going to go stale quickly, but I can't think of a
There is at least some support for standardized error codes 1, and In cases where the specified operation generates an error, this In the cases where the runtime does not expose the error to the user |
Thanks @wking , I updated this issue by:
|
On Wed, May 18, 2016 at 01:53:26AM -0700, 梁辰晔 (Liang Chenye) wrote:
Code links should probably use permanent URLs (e.g. 1) and not float |
updated:
updated (5.24th)
updated (5.26th)
updated (5.31st)
updated (6.26)
|
Change task |
updated (7.26)
|
Hi @wking, @mrunalp, |
Let's summarize what we have remaining and who is going to work on what so we can move forward :)
Are we saying that python is a good choice for these two? Or just for rewriting the validate code? |
On Wed, Jul 27, 2016 at 04:14:58PM -0700, Mrunal Patel wrote:
I think Python and/or a shell harness are reasonable choices for runtimetest currently tries to be a one-stop shop for “this container I think Python is a good choice for the config validation (#98), since Generation is simple enough that I don't think it matters. The |
@liangchenye WDYT about using python for the lifecycle tests? I am fine with anything as long as those planning to implement it are comfortable with it. |
Similar work with #16, just two sides. |
Can we vote on this? Golang VS Python (or others) |
On Thu, Nov 17, 2016 at 08:55:42AM -0800, 梁辰晔 (Liang Chenye) wrote:
For voting in general, I think we still need to merge project-template I think it's better to have maintainers chime in on what sort of a. Having a test harness that can be installed on the host (vs. being I think (a) is reasonable. While the stronger (b) might be nice to Proposed runtime testing harnesses include: i. Python's unittest And if you're really excited about (b), tap-go 5 is a fairly basic, |
The previous PR #61 is too big and is not well designed, I closed that. I think we may start to discuss how to design a suitable OCI runtime test case first. |
The test harness includes: test cases, test flow, test tool. Now we use runtimetest as the test tool and use test_runtime.sh as the test flow, we miss:
I think the case is something like this.
|
On Tue, Nov 22, 2016 at 04:38:51AM -0800, 梁辰晔 (Liang Chenye) wrote:
I don't see a need to define a domain-specific language for our test test_expect_success 'Test arch=x64 fails to start' " which seems compact enough to me without OCI-specific helpers beyond |
It will be much easier to maintain this process list after #451 been merged. |
close |
Filesystem bundle
Runtime and Lifecycle
Start 🔒 discuss
Kill
Delete
Configuration
Specification version
Root
Mounts
Process
code process cwd (string, required) is the working directory that will be set for the executable. This value MUST be an absolute path.
code Runtimes MUST ignore consoleSize if terminal is false or unset.
code process env (array of strings, optional) Elements in the array are specified as Strings in the form "KEY=value". The left hand side must consist solely of letters, digits, and underscores _ .
code 'capabilities` Any value which cannot be mapped to a relevant kernel interface MUST cause an error.
code If oomScoreAdj is set, the runtime MUST set oom_score_adj to the given value.
code If oomScoreAdj is not set, the runtime MUST NOT change the value of oom_score_adj.
code If rlimits contains duplicated entries with same type, the runtime MUST error out.
Platform-specific configuration
org.opencontainers
namespace are reserved and MUST NOT be used by subsequent specifications.Linux-specific Container Configuration
Default Filesystems
Namespaces
Device Devices
code In addition to any devices configured with this setting, the runtime MUST also supply 'dev/nul' .....
code lists devices that MUST be available in the container.
code If a file already exists at path that does not match the requested device, the runtime MUST generate an error.
code The same type, major and minor SHOULD NOT be used for multiple devices.
code capabilities (array of strings, optional) Valid values are the strings for capabilities defined in the man page
code rlimits (array of rlimits, optional) Valid values for the 'type' field are the resources defined in the man page.
Control groups The runtime MUST apply entries in the listed order.
Control groups You must specify at least one of weight or leafWeight in a given entry, and can specify both. Planed
code JSON All configuration JSON MUST be encoded in UTF-8.
The text was updated successfully, but these errors were encountered: