1
0
mirror of https://github.com/containers/youki synced 2024-09-28 15:01:29 +02:00
Commit Graph

38 Commits

Author SHA1 Message Date
yukang
eecc60152e pass test case mounts/mounts 2021-09-05 21:26:28 +08:00
yukang
8c86ef8472 print logfile when test case crash 2021-09-05 10:15:01 +08:00
Furisto
337401cec9 Activate process user test 2021-09-01 00:17:51 +02:00
yihuaf
65c7d52236 enable oom_score_adj test 2021-08-31 07:45:45 +02:00
yihuaf
e3b5720c5b
Use chroot when not entering into mount namespace (#242)
* Do not pivot_root when under the host mount namespace. Chroot instead.

* Make a note that linux_ns_itype test don't pass
2021-08-29 20:54:33 -07:00
Furisto
2d02d22caf
Pass misc props test (#245) 2021-08-29 17:20:09 -07:00
yihuaf
ff582b7f7f
Fix graceful shutdown when intermediate or init process errors or panic (#238)
* Fix graceful shutdown when intermediate or init process error out
* Only set hostname when enter into new uts ns
* enable linux_ns_path_type test
2021-08-28 01:48:13 -07:00
yihuaf
ebf4708f46
Fix user namespace for integration tests (#233)
* Fix entering into user namespace correctly

1. Allow entering user namespace when calling process is root.
Previously, only when calling process is non-root, will the rootless
condition be triggered.
2. Move the creation to the NotifyListener into main process. Once the
container init process enter into user namespace, we can't bind to a
unix domain socket where the parent directory is owned by root.

* Now we pass 2 more namespace tests
2021-08-27 11:55:03 -07:00
yukang
2d09af6d2b tweak bash style 2021-08-24 14:59:54 +00:00
yukang
3920f6e6f2 add pattern for running part of tests 2021-08-24 14:56:07 +00:00
yukang
0433efb5e0 fix #209, pass root-readonly 2021-08-24 14:43:00 +00:00
utam0k
1ea8927225 Merge branch 'main' into feature/v1-blkio 2021-08-24 22:08:30 +09:00
utam0k
3572f7ed46
Merge pull request #223 from chenyukang/fix-test-script
Show error log only when error happens
2021-08-24 21:15:32 +09:00
Yukang
627209b2d8
Update integration_test.sh
Co-authored-by: utam0k <k0ma@utam0k.jp>
2021-08-24 20:07:41 +08:00
yukang
89005c4d0e only show log when error happens 2021-08-24 17:49:54 +08:00
yukang
c62ae98a48 fix integration_test script for go env 2021-08-24 06:57:23 +00:00
utam0k
6b35c762cd
Merge pull request #215 from guni1192/pass-the-process-integration-test
Chdir to process.cwd before starting container to pass integration test
2021-08-22 18:27:33 +09:00
Takashi IIGUNI
ddcc3fc353 chdir to process.cwd before exec command to pass integration test
Signed-off-by: Takashi IIGUNI <iiguni.tks@gmail.com>
2021-08-22 07:51:30 +00:00
utam0k
5ba2ee67c9 ensure theat read only paths work properly. 2021-08-21 18:39:18 +09:00
utam0k
6724d5c1c9 exclude blkio test case in runtime-tools bacause it doesn't support linux kernel 5.0 or later. 2021-08-21 15:54:09 +09:00
utam0k
afa76a8d39 skip only the more necessary test cases. 2021-08-20 21:27:08 +09:00
utam0k
b927985053 make sure integration tests complete in ubuntu 20.04 enviroment. 2021-08-19 21:28:46 +09:00
utam0k
823ea45215 add some integration tests and organize them. 2021-08-18 18:33:50 +09:00
yihuaf
688f716007 enable hook stdin 2021-08-14 09:20:03 +02:00
yihuaf
774a5f5e61 Fix arg0 and argv for hook 2021-08-14 07:01:37 +02:00
yihuaf
729a75e6f7 enabled hook related tests 2021-08-14 06:54:42 +02:00
Furisto
4226cb4a02 Support sysctl 2021-08-13 23:47:11 +02:00
Rongxiang Song
d71833f862 add comments in intergration_test.sh about test case that runc no paas 2021-06-30 14:20:41 +08:00
Zheming Li
d076db8358 add create kill delete state in integration test 2021-06-11 03:13:51 +00:00
Furisto
ca3e9f27f6 Handle relative cgroup paths 2021-06-09 20:20:17 +02:00
oliver
f3037b5f28 Update youki path 2021-06-07 22:14:46 +09:00
Furisto
9b981700e5 Activate cpu integration test 2021-06-05 00:22:30 +02:00
utam0k
4b260b0462 make log level debug to get more information when ci failed. 2021-05-31 23:15:11 +09:00
utam0k
a1d712ac32 add the tutorial on using youki. 2021-05-30 19:21:42 +09:00
utam0k
f3fc2a5565 Revert "should failed."
This reverts commit d3ad7c6d067eb423c862905e9a279ceed6aef1fb.
2021-05-28 08:10:40 +09:00
utam0k
d3ad7c6d06 should failed. 2021-05-28 08:10:24 +09:00
utam0k
461fae0a02 build the tests before running integration tests. 2021-05-27 21:54:35 +09:00
utam0k
a12092eccc extract the integration tests writen in the ci file as a script file. 2021-05-26 18:50:45 +09:00