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

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

    <bug>
          <bug_id>47091</bug_id>
          
          <creation_ts>2023-08-01 18:20:12 +0300</creation_ts>
          <short_desc>Не проходит тест admc_test_gplink</short_desc>
          <delta_ts>2023-12-12 12:38:57 +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>admc-test</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>WORKSFORME</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="Nikolai Zurabishvili">zurabishvilinn</reporter>
          <assigned_to name="Valery Sinelnikov">greh</assigned_to>
          <cc>greh</cc>
    
    <cc>kevl</cc>
    
    <cc>knyazevsr</cc>
    
    <cc>kozyrevid</cc>
    
    <cc>samael</cc>
    
    <cc>sin</cc>
    
    <cc>tatyana</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>230722</commentid>
    <comment_count>0</comment_count>
    <who name="Nikolai Zurabishvili">zurabishvilinn</who>
    <bug_when>2023-08-01 18:20:12 +0300</bug_when>
    <thetext>Версия admc и admc-test:
admc-test-0.13.0-alt1.x86_64
admc-0.13.0-alt1.x86_64

$ admc_test_gplink
********* Start testing of ADMCTestGplink *********
Config: Using QtTest library 5.15.9, Qt 5.15.9 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 10.3.1 20210703 (ALT Sisyphus 10.3.1-alt2)), altlinux 10.1
PASS   : ADMCTestGplink::initTestCase()
PASS   : ADMCTestGplink::to_string()
PASS   : ADMCTestGplink::equals()
PASS   : ADMCTestGplink::contains(a)
PASS   : ADMCTestGplink::contains(b)
PASS   : ADMCTestGplink::contains(c)
PASS   : ADMCTestGplink::contains(shouldn&apos;t contains)
PASS   : ADMCTestGplink::add(add to empty)
FAIL!  : ADMCTestGplink::add(add to non-empty) Compared values are not the same
   Actual   (gplink.to_string()): &quot;[LDAP://cn={AAAAAAAA-AAAA-AAAA-AAAA-AAAAAAAAAAAA},cn=policies,cn=system,DC=foodomain,DC=com;0][LDAP://cn={BBBBBBBB-BBBB-BBBB-BBBB-BBBBBBBBBBBB},cn=policies,cn=system,DC=foodomain,DC=com;1]&quot;
   Expected (gplink_after)      : &quot;[LDAP://cn={BBBBBBBB-BBBB-BBBB-BBBB-BBBBBBBBBBBB},cn=policies,cn=system,DC=foodomain,DC=com;1][LDAP://cn={AAAAAAAA-AAAA-AAAA-AAAA-AAAAAAAAAAAA},cn=policies,cn=system,DC=foodomain,DC=com;0]&quot;
   Loc: [/usr/src/RPM/BUILD/admc-0.13.0/tests/admc_test_gplink.cpp(103)]
PASS   : ADMCTestGplink::add(add same one twice to empty)
PASS   : ADMCTestGplink::add(add already existing)
PASS   : ADMCTestGplink::remove(remove 1)
PASS   : ADMCTestGplink::remove(remove from empty)
PASS   : ADMCTestGplink::remove(remove same one twice)
PASS   : ADMCTestGplink::remove(remove from multiple)
PASS   : ADMCTestGplink::move_up(move up empty)
PASS   : ADMCTestGplink::move_up(move up single)
PASS   : ADMCTestGplink::move_up(move up non-existing)
FAIL!  : ADMCTestGplink::move_up(move up from [2] to [1]) Compared values are not the same
   Actual   (gplink.to_string()): &quot;[LDAP://cn={AAAAAAAA-AAAA-AAAA-AAAA-AAAAAAAAAAAA},cn=policies,cn=system,DC=foodomain,DC=com;0][LDAP://cn={BBBBBBBB-BBBB-BBBB-BBBB-BBBBBBBBBBBB},cn=policies,cn=system,DC=foodomain,DC=com;1][LDAP://cn={CCCCCCCC-CCCC-CCCC-CCCC-CCCCCCCCCCCC},cn=poli&quot;...
   Expected (gplink_after)      : &quot;[LDAP://cn={AAAAAAAA-AAAA-AAAA-AAAA-AAAAAAAAAAAA},cn=policies,cn=system,DC=foodomain,DC=com;0][LDAP://cn={CCCCCCCC-CCCC-CCCC-CCCC-CCCCCCCCCCCC},cn=policies,cn=system,DC=foodomain,DC=com;2][LDAP://cn={BBBBBBBB-BBBB-BBBB-BBBB-BBBBBBBBBBBB},cn=poli&quot;...
   Loc: [/usr/src/RPM/BUILD/admc-0.13.0/tests/admc_test_gplink.cpp(154)]
FAIL!  : ADMCTestGplink::move_up(move up twice from [2] to [0]) Compared values are not the same
   Actual   (gplink.to_string()): &quot;[LDAP://cn={AAAAAAAA-AAAA-AAAA-AAAA-AAAAAAAAAAAA},cn=policies,cn=system,DC=foodomain,DC=com;0][LDAP://cn={BBBBBBBB-BBBB-BBBB-BBBB-BBBBBBBBBBBB},cn=policies,cn=system,DC=foodomain,DC=com;1][LDAP://cn={CCCCCCCC-CCCC-CCCC-CCCC-CCCCCCCCCCCC},cn=poli&quot;...
   Expected (gplink_after)      : &quot;[LDAP://cn={CCCCCCCC-CCCC-CCCC-CCCC-CCCCCCCCCCCC},cn=policies,cn=system,DC=foodomain,DC=com;2][LDAP://cn={AAAAAAAA-AAAA-AAAA-AAAA-AAAAAAAAAAAA},cn=policies,cn=system,DC=foodomain,DC=com;0][LDAP://cn={BBBBBBBB-BBBB-BBBB-BBBB-BBBBBBBBBBBB},cn=poli&quot;...
   Loc: [/usr/src/RPM/BUILD/admc-0.13.0/tests/admc_test_gplink.cpp(154)]
PASS   : ADMCTestGplink::move_down(move down empty)
PASS   : ADMCTestGplink::move_down(move down single)
PASS   : ADMCTestGplink::move_down(move down non-existing)
FAIL!  : ADMCTestGplink::move_down(move down from [1] to [2]) Compared values are not the same
   Actual   (gplink.to_string()): &quot;[LDAP://cn={BBBBBBBB-BBBB-BBBB-BBBB-BBBBBBBBBBBB},cn=policies,cn=system,DC=foodomain,DC=com;1][LDAP://cn={AAAAAAAA-AAAA-AAAA-AAAA-AAAAAAAAAAAA},cn=policies,cn=system,DC=foodomain,DC=com;0][LDAP://cn={CCCCCCCC-CCCC-CCCC-CCCC-CCCCCCCCCCCC},cn=poli&quot;...
   Expected (gplink_after)      : &quot;[LDAP://cn={AAAAAAAA-AAAA-AAAA-AAAA-AAAAAAAAAAAA},cn=policies,cn=system,DC=foodomain,DC=com;0][LDAP://cn={CCCCCCCC-CCCC-CCCC-CCCC-CCCCCCCCCCCC},cn=policies,cn=system,DC=foodomain,DC=com;2][LDAP://cn={BBBBBBBB-BBBB-BBBB-BBBB-BBBBBBBBBBBB},cn=poli&quot;...
   Loc: [/usr/src/RPM/BUILD/admc-0.13.0/tests/admc_test_gplink.cpp(180)]
FAIL!  : ADMCTestGplink::move_down(move down twice from [0] to [2]) Compared values are not the same
   Actual   (gplink.to_string()): &quot;[LDAP://cn={AAAAAAAA-AAAA-AAAA-AAAA-AAAAAAAAAAAA},cn=policies,cn=system,DC=foodomain,DC=com;0][LDAP://cn={BBBBBBBB-BBBB-BBBB-BBBB-BBBBBBBBBBBB},cn=policies,cn=system,DC=foodomain,DC=com;1][LDAP://cn={CCCCCCCC-CCCC-CCCC-CCCC-CCCCCCCCCCCC},cn=poli&quot;...
   Expected (gplink_after)      : &quot;[LDAP://cn={BBBBBBBB-BBBB-BBBB-BBBB-BBBBBBBBBBBB},cn=policies,cn=system,DC=foodomain,DC=com;1][LDAP://cn={CCCCCCCC-CCCC-CCCC-CCCC-CCCCCCCCCCCC},cn=policies,cn=system,DC=foodomain,DC=com;2][LDAP://cn={AAAAAAAA-AAAA-AAAA-AAAA-AAAAAAAAAAAA},cn=poli&quot;...
   Loc: [/usr/src/RPM/BUILD/admc-0.13.0/tests/admc_test_gplink.cpp(180)]
PASS   : ADMCTestGplink::get_option(A disabled)
PASS   : ADMCTestGplink::get_option(A enforced)
PASS   : ADMCTestGplink::get_option(B disabled)
PASS   : ADMCTestGplink::get_option(B enforced)
PASS   : ADMCTestGplink::get_option(C disabled)
PASS   : ADMCTestGplink::get_option(C enforced)
PASS   : ADMCTestGplink::set_option(set disabled true)
PASS   : ADMCTestGplink::set_option(set enforced true)
PASS   : ADMCTestGplink::set_option(set disabled false)
PASS   : ADMCTestGplink::set_option(set enforced false)
PASS   : ADMCTestGplink::get_gpo_list(LDAP case)
PASS   : ADMCTestGplink::get_gpo_list(lower case)
PASS   : ADMCTestGplink::get_gpo_list(upper case)
PASS   : ADMCTestGplink::get_gpo_order(A)
PASS   : ADMCTestGplink::get_gpo_order(B)
PASS   : ADMCTestGplink::get_gpo_order(C)
PASS   : ADMCTestGplink::cleanupTestCase()
Totals: 37 passed, 5 failed, 0 skipped, 0 blacklisted, 2ms
********* Finished testing of ADMCTestGplink *********

Аналогично падает и в p10
На пред версии admc-0.12.0-alt1 данный тест проходил успешно</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>230778</commentid>
    <comment_count>1</comment_count>
    <who name="Samael">knyazevsr</who>
    <bug_when>2023-08-02 19:06:26 +0300</bug_when>
    <thetext>Будет исправлено в следующем релизе.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>238853</commentid>
    <comment_count>2</comment_count>
    <who name="Tatyana Gagina">tatyana</who>
    <bug_when>2023-12-12 12:38:57 +0300</bug_when>
    <thetext>Ошибка не воспроизводится.

Версии: 
admc-test-0.15.0-alt1.x86_64
admc-0.15.0-alt1.x86_64

Результат: Totals: 42 passed, 0 failed, 0 skipped, 0 blacklisted, 2ms</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>