From 4b260b04624e9a4d11678a2b7fd73872a0c1810d Mon Sep 17 00:00:00 2001 From: utam0k Date: Mon, 31 May 2021 23:04:20 +0900 Subject: [PATCH] make log level debug to get more information when ci failed. --- integration_test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration_test.sh b/integration_test.sh index 8d23965e4..3a4f82c3e 100755 --- a/integration_test.sh +++ b/integration_test.sh @@ -6,7 +6,7 @@ GOPATH=$root/integration_test make runtimetest validation-executables test_cases=("default/default.t" "linux_cgroups_devices/linux_cgroups_devices.t" "linux_cgroups_hugetlb/linux_cgroups_hugetlb.t" "linux_cgroups_pids/linux_cgroups_pids.t" "linux_cgroups_memory/linux_cgroups_memory.t" "linux_cgroups_network/linux_cgroups_network.t") for case in "${test_cases[@]}"; do echo "Running $case" - if [ 0 -ne $(sudo RUST_BACKTRACE=1 RUNTIME=$root/target/x86_64-unknown-linux-gnu/debug/youki $root/integration_test/src/github.com/opencontainers/runtime-tools/validation/$case | grep "not ok" | wc -l) ]; then + if [ 0 -ne $(sudo RUST_BACKTRACE=1 YOUKI_LOG_LEVEL=debug RUNTIME=$root/target/x86_64-unknown-linux-gnu/debug/youki $root/integration_test/src/github.com/opencontainers/runtime-tools/validation/$case | grep "not ok" | wc -l) ]; then exit 1 fi sleep 1