Skip to content

Commit

Permalink
Fix: debug
Browse files Browse the repository at this point in the history
  • Loading branch information
yihuaf committed Aug 30, 2021
1 parent 8a07a8b commit c068e7c
Show file tree
Hide file tree
Showing 2 changed files with 63 additions and 61 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,5 +95,7 @@ jobs:
- uses: actions/setup-go@v2
with:
go-version: "1.11.0"
- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
- name: Run intetgration tests
run: ./integration_test.sh
122 changes: 61 additions & 61 deletions integration_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,68 +7,68 @@ PATTERN=${1:-.}
cd integration_test/src/github.com/opencontainers/runtime-tools

test_cases=(
"create/create.t"
"default/default.t"
"delete/delete.t"
"delete_only_create_resources/delete_only_create_resources.t"
"delete_resources/delete_resources.t"
"hooks/hooks.t"
"hooks_stdin/hooks_stdin.t"
"hostname/hostname.t"
"kill/kill.t"
"kill_no_effect/kill_no_effect.t"
"killsig/killsig.t"
# This case includes checking for features that are excluded from linux kernel 5.0, so even runc doesn't pass it.
# ref. https://github.com/docker/cli/pull/2908
# "linux_cgroups_blkio/linux_cgroups_blkio.t"
"linux_cgroups_cpus/linux_cgroups_cpus.t"
"linux_cgroups_devices/linux_cgroups_devices.t"
"linux_cgroups_hugetlb/linux_cgroups_hugetlb.t"
"linux_cgroups_memory/linux_cgroups_memory.t"
"linux_cgroups_network/linux_cgroups_network.t"
"linux_cgroups_pids/linux_cgroups_pids.t"
# This case includes checking for features that are excluded from linux kernel 5.0, so even runc doesn't pass it.
# ref. https://github.com/docker/cli/pull/2908
# "linux_cgroups_relative_blkio/linux_cgroups_relative_blkio.t"
"linux_cgroups_relative_cpus/linux_cgroups_relative_cpus.t"
"linux_cgroups_relative_devices/linux_cgroups_relative_devices.t"
"linux_cgroups_relative_hugetlb/linux_cgroups_relative_hugetlb.t"
"linux_cgroups_relative_memory/linux_cgroups_relative_memory.t"
"linux_cgroups_relative_network/linux_cgroups_relative_network.t"
"linux_cgroups_relative_pids/linux_cgroups_relative_pids.t"
"linux_devices/linux_devices.t"
# "linux_masked_paths/linux_masked_paths.t"
"linux_mount_label/linux_mount_label.t"
# "create/create.t"
# "default/default.t"
# "delete/delete.t"
# "delete_only_create_resources/delete_only_create_resources.t"
# "delete_resources/delete_resources.t"
# "hooks/hooks.t"
# "hooks_stdin/hooks_stdin.t"
# "hostname/hostname.t"
# "kill/kill.t"
# "kill_no_effect/kill_no_effect.t"
# "killsig/killsig.t"
# # This case includes checking for features that are excluded from linux kernel 5.0, so even runc doesn't pass it.
# # ref. https://github.com/docker/cli/pull/2908
# # "linux_cgroups_blkio/linux_cgroups_blkio.t"
# "linux_cgroups_cpus/linux_cgroups_cpus.t"
# "linux_cgroups_devices/linux_cgroups_devices.t"
# "linux_cgroups_hugetlb/linux_cgroups_hugetlb.t"
# "linux_cgroups_memory/linux_cgroups_memory.t"
# "linux_cgroups_network/linux_cgroups_network.t"
# "linux_cgroups_pids/linux_cgroups_pids.t"
# # This case includes checking for features that are excluded from linux kernel 5.0, so even runc doesn't pass it.
# # ref. https://github.com/docker/cli/pull/2908
# # "linux_cgroups_relative_blkio/linux_cgroups_relative_blkio.t"
# "linux_cgroups_relative_cpus/linux_cgroups_relative_cpus.t"
# "linux_cgroups_relative_devices/linux_cgroups_relative_devices.t"
# "linux_cgroups_relative_hugetlb/linux_cgroups_relative_hugetlb.t"
# "linux_cgroups_relative_memory/linux_cgroups_relative_memory.t"
# "linux_cgroups_relative_network/linux_cgroups_relative_network.t"
# "linux_cgroups_relative_pids/linux_cgroups_relative_pids.t"
# "linux_devices/linux_devices.t"
# # "linux_masked_paths/linux_masked_paths.t"
# "linux_mount_label/linux_mount_label.t"
"linux_ns_itype/linux_ns_itype.t"
"linux_ns_nopath/linux_ns_nopath.t"
"linux_ns_path/linux_ns_path.t"
"linux_ns_path_type/linux_ns_path_type.t"
# "linux_process_apparmor_profile/linux_process_apparmor_profile.t"
"linux_readonly_paths/linux_readonly_paths.t"
# "linux_rootfs_propagation/linux_rootfs_propagation.t"
# "linux_seccomp/linux_seccomp.t"
"linux_sysctl/linux_sysctl.t"
# "linux_uid_mappings/linux_uid_mappings.t"
"misc_props/misc_props.t"
# "mounts/mounts.t"
# "pidfile/pidfile.t"
"poststart/poststart.t"
"poststart_fail/poststart_fail.t"
"poststop/poststop.t"
"poststop_fail/poststop_fail.t"
"prestart/prestart.t"
"prestart_fail/prestart_fail.t"
"process/process.t"
"process_capabilities/process_capabilities.t"
"process_capabilities_fail/process_capabilities_fail.t"
# "process_oom_score_adj/process_oom_score_adj.t"
"process_rlimits/process_rlimits.t"
"process_rlimits_fail/process_rlimits_fail.t"
# "process_user/process_user.t"
"root_readonly_true/root_readonly_true.t"
# Record the tests that runc also fails to pass below, maybe we will fix this by origin integration test, issue: https://github.com/containers/youki/issues/56
# "start/start.t"
"state/state.t"
# "linux_ns_nopath/linux_ns_nopath.t"
# "linux_ns_path/linux_ns_path.t"
# "linux_ns_path_type/linux_ns_path_type.t"
# # "linux_process_apparmor_profile/linux_process_apparmor_profile.t"
# "linux_readonly_paths/linux_readonly_paths.t"
# # "linux_rootfs_propagation/linux_rootfs_propagation.t"
# # "linux_seccomp/linux_seccomp.t"
# "linux_sysctl/linux_sysctl.t"
# # "linux_uid_mappings/linux_uid_mappings.t"
# "misc_props/misc_props.t"
# # "mounts/mounts.t"
# # "pidfile/pidfile.t"
# "poststart/poststart.t"
# "poststart_fail/poststart_fail.t"
# "poststop/poststop.t"
# "poststop_fail/poststop_fail.t"
# "prestart/prestart.t"
# "prestart_fail/prestart_fail.t"
# "process/process.t"
# "process_capabilities/process_capabilities.t"
# "process_capabilities_fail/process_capabilities_fail.t"
# # "process_oom_score_adj/process_oom_score_adj.t"
# "process_rlimits/process_rlimits.t"
# "process_rlimits_fail/process_rlimits_fail.t"
# # "process_user/process_user.t"
# "root_readonly_true/root_readonly_true.t"
# # Record the tests that runc also fails to pass below, maybe we will fix this by origin integration test, issue: https://github.com/containers/youki/issues/56
# # "start/start.t"
# "state/state.t"
)

check_enviroment() {
Expand Down

0 comments on commit c068e7c

Please sign in to comment.