<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>47599</bug_id>
          
          <creation_ts>2023-09-15 09:38:03 +0300</creation_ts>
          <short_desc>&quot;expected to fail&quot; tests fail on unsupported architecture</short_desc>
          <delta_ts>2023-09-21 04:46:51 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>ltp</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ivan A. Melnikov">iv</reporter>
          <assigned_to name="Vitaly Chikunov">vt</assigned_to>
          <cc>placeholder</cc>
    
    <cc>vt</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>233246</commentid>
    <comment_count>0</comment_count>
    <who name="Ivan A. Melnikov">iv</who>
    <bug_when>2023-09-15 09:38:03 +0300</bug_when>
    <thetext>Конструкция

! vm-run runltp -q -f failpass


не работает на архитектурах, на которых vm-run не поддерживается и всегда возвращает код выхода 0.

Пример с riscv64:

+ echo expected_to_fail false
+ vm-run runltp -q -f failpass
*****************************************************
Warning: vm-run is not supported on your architecture
This command will be skipped: runltp -q -f failpass
Assuming it would finish with exit 0
*****************************************************
error: %prein(ltp-testsuite-checkinstall-20220930-alt3.noarch) scriptlet failed, exit status 1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>233252</commentid>
    <comment_count>1</comment_count>
    <who name="Vitaly Chikunov">vt</who>
    <bug_when>2023-09-15 10:53:22 +0300</bug_when>
    <thetext>Спасибо. Планирую сделать такое изменение https://git.altlinux.org/tasks/329625/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>233551</commentid>
    <comment_count>2</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2023-09-21 04:46:51 +0300</bug_when>
    <thetext>rpm-build-vm-1.56-alt1 -&gt; sisyphus:

 Fri Sep 15 2023 Vitaly Chikunov &lt;vt@altlinux&gt; 1.56-alt1
 - Add --stub-exit= option for vm-run stub (ALT#47599).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>