summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/utils/postactions.py
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oeqa/utils/postactions.py')
-rw-r--r--meta/lib/oeqa/utils/postactions.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oeqa/utils/postactions.py b/meta/lib/oeqa/utils/postactions.py
index c69481db6c..7b967edaad 100644
--- a/meta/lib/oeqa/utils/postactions.py
+++ b/meta/lib/oeqa/utils/postactions.py
@@ -22,7 +22,7 @@ from oeqa.utils import get_artefact_dir
22def get_target_disk_usage(d, tc, artifacts_list, outputdir): 22def get_target_disk_usage(d, tc, artifacts_list, outputdir):
23 output_file = os.path.join(outputdir, "target_disk_usage.txt") 23 output_file = os.path.join(outputdir, "target_disk_usage.txt")
24 try: 24 try:
25 (status, output) = tc.target.run('df -h') 25 (status, output) = tc.target.run('df -h', ignore_ssh_fails=True)
26 with open(output_file, 'w') as f: 26 with open(output_file, 'w') as f:
27 f.write(output) 27 f.write(output)
28 f.write("\n") 28 f.write("\n")
@@ -49,7 +49,7 @@ def get_artifacts_list(target, raw_list):
49 for raw_path in raw_list.split(): 49 for raw_path in raw_list.split():
50 cmd = f"for p in {raw_path}; do if [ -e $p ]; then echo $p; fi; done" 50 cmd = f"for p in {raw_path}; do if [ -e $p ]; then echo $p; fi; done"
51 try: 51 try:
52 status, output = target.run(cmd) 52 status, output = target.run(cmd, ignore_ssh_fails=True)
53 if status != 0 or not output: 53 if status != 0 or not output:
54 raise Exception() 54 raise Exception()
55 result += output.split() 55 result += output.split()