Given following log snippets, their explanation, and nothing else, explain what failure, if any, occurred during build of this package.

  Snippets are in a format of [X] : [Y], where [X] is a log snippet, and [Y] is the explanation.

  Snippets are delimited with '================'.

  Drawing on information from all snippets, provide a concise explanation of the issue and recommend a solution.

  Explanation of the issue, and recommended solution, should take a handful of sentences.

  Snippets:

  [+ for ff in case1 case2 case3
+ '[' '!' -f x86_64.case3 ']'
+ RPM_EC=1
++ jobs -p
+ exit 1
error: Bad exit status from /var/tmp/rpm-tmp.LZl7el (%check)
]: [build check phase failed due to poor shell code]

Issue: command unrelated to test itself leaked non-zero exit status
Resolution: Beware that short version [ test ] check can leak non-zero exit status when it's the last command to run. Rewrite script to use if check format