From aed6e4e58ed674ae304cd7fa62bb6690b3ae63a4 Mon Sep 17 00:00:00 2001 From: Mark Gurevich Date: Wed, 29 Jun 2022 16:30:30 -0400 Subject: [PATCH] Add some debugging --- github_action_xcat_test.pl | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/github_action_xcat_test.pl b/github_action_xcat_test.pl index 4b4151e7e..0f46d850b 100644 --- a/github_action_xcat_test.pl +++ b/github_action_xcat_test.pl @@ -325,7 +325,8 @@ sub build_xcat_core{ #-------------------------------------------------------- sub install_xcat{ - my @cmds = ("cd ./../../xcat-core && sudo ./mklocalrepo.sh", + my @cmds = ("pwd", + "cd ./../../xcat-core && sudo ./mklocalrepo.sh", "sudo chmod 777 /etc/apt/sources.list", "sudo echo \"deb [arch=amd64 allow-insecure=yes] http://xcat.org/files/xcat/repos/apt/devel/xcat-dep bionic main\" >> /etc/apt/sources.list", "sudo echo \"deb [arch=ppc64el allow-insecure=yes] http://xcat.org/files/xcat/repos/apt/devel/xcat-dep bionic main\" >> /etc/apt/sources.list", @@ -343,6 +344,10 @@ sub install_xcat{ #send_back_comment("$check_result_str"); return 1; } + else { + print "[install_xcat] Command success:\n"; + print Dumper \@output; + } } my $cmd = "sudo apt-get install xcat --allow-remove-essential --allow-unauthenticated";