From 54ff0c1f7a8fbb73a48497c3306238ffa4c545c7 Mon Sep 17 00:00:00 2001 From: Jim Garlick Date: Mon, 23 Dec 2019 14:05:01 -0800 Subject: [PATCH] testsuite/t2601-job-shell.t: don't redirect stderr Problem: t2601-job-shell.t (test 8 - PMI cliques are correct for 2 ppn) just failed in travis with no useful output. This test, and a few tests surrounding it, redirect the stderr of flux job attach to a file, then ignore the file. Allow flux job attach's stderr to be included in the verbose test output --- t/t2602-job-shell.t | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/t/t2602-job-shell.t b/t/t2602-job-shell.t index 84b16f947020..d1c34eb70173 100755 --- a/t/t2602-job-shell.t +++ b/t/t2602-job-shell.t @@ -72,7 +72,7 @@ test_expect_success 'job-shell: PMI works' ' ' test_expect_success 'pmi-shell: PMI cliques are correct for 1 ppn' ' id=$(flux jobspec srun -N4 -n4 ${PMI_INFO} -c | flux job submit) && - flux job attach $id >pmi_clique1.raw 2>pmi_clique1.err && + flux job attach $id >pmi_clique1.raw && sort -snk1 pmi_clique1.out && sort >pmi_clique1.exp <<-EOT && 0: clique=0 @@ -84,7 +84,7 @@ test_expect_success 'pmi-shell: PMI cliques are correct for 1 ppn' ' ' test_expect_success 'pmi-shell: PMI cliques are correct for 2 ppn' ' id=$(flux jobspec srun -N2 -n4 ${PMI_INFO} -c | flux job submit) && - flux job attach $id >pmi_clique2.raw 2>pmi_clique2.err && + flux job attach $id >pmi_clique2.raw && sort -snk1 pmi_clique2.out && sort >pmi_clique2.exp <<-EOT && 0: clique=0,1 @@ -96,7 +96,7 @@ test_expect_success 'pmi-shell: PMI cliques are correct for 2 ppn' ' ' test_expect_success 'pmi-shell: PMI cliques are correct for irregular ppn' ' id=$(flux jobspec srun -N4 -n5 ${PMI_INFO} -c | flux job submit) && - flux job attach $id >pmi_cliquex.raw 2>pmi_cliquex.err && + flux job attach $id >pmi_cliquex.raw && sort -snk1 pmi_cliquex.out && sort >pmi_cliquex.exp <<-EOT && 0: clique=0,1 @@ -109,7 +109,7 @@ test_expect_success 'pmi-shell: PMI cliques are correct for irregular ppn' ' ' test_expect_success 'job-shell: PMI KVS works' ' id=$(flux jobspec srun -N4 ${KVSTEST} | flux job submit) && - flux job attach $id >kvstest.out 2>kvstest.err && + flux job attach $id >kvstest.out && grep "t phase" kvstest.out ' test_expect_success 'job-exec: decrease kill timeout for tests' '