Bug 1956806

Summary: subversion-1.14.1-2.fc35 FTBFS: tests fail
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: subversionAssignee: Joe Orton <jorton>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 36CC: jorton, vanmeeuwen+fedora
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://koschei.fedoraproject.org/package/subversion
Whiteboard:
Fixed In Version: subversion-1.14.1-6.fc36 subversion-1.14.2-5.fc36 subversion-1.14.2-5.fc35 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-07-15 01:16:04 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1927309    

Description Petr Pisar 2021-05-04 13:04:38 UTC
subversion-1.14.1-2.fc35 fails to build in Fedora 35 because some tests fail:

At least one test FAILED, checking /builddir/build/BUILD/subversion-1.14.1/tests.log
FAIL:  commit_tests.py 7: commit wc_dir -- (anchor=wc_dir, tgt={})
FAIL:  commit_tests.py 9: replace two nested dirs, verify empty contents
FAIL:  diff_tests.py 27: scheduled deleted
FAIL:  log_tests.py 36: 'svn log --diff'
FAIL:  merge_tests.py 2: merge and add new files/dirs with history
FAIL:  merge_tests.py 15: merge should skip over unversioned obstructions
FAIL:  merge_tests.py 16: merge into missing must not break working copy
FAIL:  merge_tests.py 134: merged directory properties are added
Summary of test results:
  2513 tests PASSED
  161 tests SKIPPED
  80 tests XFAILED (17 WORK-IN-PROGRESS)
  8 tests FAILED
Python version: 3.9.4.
SUMMARY: Some tests failed
make: *** [Makefile:549: check] Error 1
+ : Test suite failure.
+ cat fails.log
[[[
W: =============================================================
Expected 'bloo' and actual 'bloo' in output tree are different!
=============================================================
EXPECTED NODE TO BE:
=============================================================
 * Node name:   bloo
    Path:       svn-test-work/working_copies/commit_tests-7/A/B/E/bloo
    Contents:   None
    Properties: {}
    Attributes: {'verb': 'Adding'}
    Children:  None (node is probably a file)
=============================================================
ACTUAL NODE FOUND:
=============================================================
 * Node name:   bloo
    Path:       svn-test-work/working_copies/commit_tests-7/A/B/E/bloo
    Contents:   None
    Properties: {}
    Attributes: {'verb': 'Adding  (bin)'}
    Children:  None (node is probably a file)
W: Unequal at node bloo
W: Unequal at node E
W: Unequal at node B
W: Unequal at node A
W: Unequal at node commit_tests-7
W: Unequal at node working_copies
W: Unequal at node svn-test-work
W: Output of commit is unexpected
W: EXPECTED OUTPUT TREE:
W: ROOT
  +-- svn-test-work
        +-- working_copies
              +-- commit_tests-7
                    |-- A
                    |     |-- B
                    |     |     |-- E
                    |     |     |     +-- bloo
                    |     |     +-- lambda
                    |     |-- C
                    |     +-- D
                    |           |-- G
                    |           |     |-- pi
                    |           |     +-- rho
                    |           |-- H
                    |           |     |-- chi
                    |           |     |-- gloo
                    |           |     +-- omega
                    |           +-- gamma
                    +-- Q
                          +-- floo
W: ACTUAL OUTPUT TREE:
W: ROOT
  +-- svn-test-work
        +-- working_copies
              +-- commit_tests-7
                    |-- A
                    |     |-- B
                    |     |     |-- E
                    |     |     |     +-- bloo
                    |     |     +-- lambda
                    |     |-- C
                    |     +-- D
                    |           |-- G
                    |           |     |-- pi
                    |           |     +-- rho
                    |           |-- H
                    |           |     |-- chi
                    |           |     |-- gloo
                    |           |     +-- omega
                    |           +-- gamma
                    +-- Q
                          +-- floo
W: ACTUAL OUTPUT TREE:
svntest.wc.State(wc_dir, {
  ''                  : Item(verb='Sending'),
  'A/B/E'             : Item(verb='Replacing'),
  'A/B/E/bloo'        : Item(verb='Adding  (bin)'),
  'A/B/lambda'        : Item(verb='Sending'),
  'A/C'               : Item(verb='Deleting'),
  'A/D'               : Item(verb='Sending'),
  'A/D/G/pi'          : Item(verb='Sending'),
  'A/D/G/rho'         : Item(verb='Deleting'),
  'A/D/H/chi'         : Item(verb='Replacing'),
  'A/D/H/gloo'        : Item(verb='Adding'),
  'A/D/H/omega'       : Item(verb='Sending'),
  'A/D/gamma'         : Item(verb='Deleting'),
  'Q'                 : Item(verb='Adding'),
  'Q/floo'            : Item(verb='Adding  (bin)'),
})
W: CWD: /builddir/build/BUILD/subversion-1.14.1/subversion/tests/cmdline
W: EXCEPTION: SVNTreeUnequal
Traceback (most recent call last):
  File "/builddir/build/BUILD/subversion-1.14.1/subversion/tests/cmdline/svntest/main.py", line 1927, in run
    rc = self.pred.run(sandbox)
  File "/builddir/build/BUILD/subversion-1.14.1/subversion/tests/cmdline/svntest/testcase.py", line 178, in run
    result = self.func(sandbox)
  File "/builddir/build/BUILD/subversion-1.14.1/subversion/tests/cmdline/commit_tests.py", line 417, in commit_top_dir
    svntest.actions.run_and_verify_commit(wc_dir,
  File "/builddir/build/BUILD/subversion-1.14.1/subversion/tests/cmdline/svntest/actions.py", line 1565, in run_and_verify_commit
    tree.compare_trees("output", actual, output_tree)
  File "/builddir/build/BUILD/subversion-1.14.1/subversion/tests/cmdline/svntest/tree.py", line 683, in compare_trees
    compare_trees(label, a_child, b_child,
  File "/builddir/build/BUILD/subversion-1.14.1/subversion/tests/cmdline/svntest/tree.py", line 683, in compare_trees
    compare_trees(label, a_child, b_child,
  File "/builddir/build/BUILD/subversion-1.14.1/subversion/tests/cmdline/svntest/tree.py", line 683, in compare_trees
    compare_trees(label, a_child, b_child,
  [Previous line repeated 4 more times]
  File "/builddir/build/BUILD/subversion-1.14.1/subversion/tests/cmdline/svntest/tree.py", line 661, in compare_trees
    raise SVNTreeUnequal
svntest.tree.SVNTreeUnequal

A difference between passing and failing build root is probably this one <https://koschei.fedoraproject.org/build/10191649>

Comment 1 Fedora Release Engineering 2021-07-11 04:22:45 UTC
Dear Maintainer,

your package has an open Fails To Build From Source bug for Fedora 35.
Action is required from you.

If you can fix your package to build, perform a build in koji, and either create
an update in bodhi, or close this bug without creating an update, if updating is
not appropriate [1]. If you are working on a fix, set the status to ASSIGNED to
acknowledge this. If you have already fixed this issue, please close this Bugzilla report.

Following the policy for such packages [2], your package will be orphaned if
this bug remains in NEW state more than 8 weeks (not sooner than 2021-06-29).

A week before the mass branching of Fedora 36 according to the schedule [3],
any packages not successfully rebuilt at least on Fedora 34 will be
retired regardless of the status of this bug.

[1] https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/
[2] https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/
[3] https://fedorapeople.org/groups/schedule/f-36/f-36-key-tasks.html

Comment 2 Joe Orton 2021-07-29 14:10:00 UTC
The tests were disable to work around the FTBFS a while ago.  Trying a scratch build with a fix to re-enable them.

Comment 3 Fedora Release Engineering 2021-08-01 04:22:45 UTC
Dear Maintainer,

your package has an open Fails To Build From Source bug for Fedora 35.
Action is required from you.

If you can fix your package to build, perform a build in koji, and either create
an update in bodhi, or close this bug without creating an update, if updating is
not appropriate [1]. If you are working on a fix, set the status to ASSIGNED to
acknowledge this. If you have already fixed this issue, please close this Bugzilla report.

Following the policy for such packages [2], your package will be orphaned if
this bug remains in NEW state more than 8 weeks (not sooner than 2021-06-29).

A week before the mass branching of Fedora 36 according to the schedule [3],
any packages not successfully rebuilt at least on Fedora 34 will be
retired regardless of the status of this bug.

[1] https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/
[2] https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/
[3] https://fedorapeople.org/groups/schedule/f-36/f-36-key-tasks.html

Comment 4 Joe Orton 2021-08-02 06:39:18 UTC
Current build works.

Comment 6 Joe Orton 2021-12-01 11:59:31 UTC
Package: subversion-1.14.1-6.fc36
Build: https://koji.fedoraproject.org/koji/buildinfo?buildID=1861639

Comment 7 Ben Cotton 2022-02-08 21:23:39 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 36 development cycle.
Changing version to 36.

Comment 8 Fedora Update System 2022-07-06 08:17:10 UTC
FEDORA-2022-13cc09ecf2 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2022-13cc09ecf2

Comment 9 Fedora Update System 2022-07-06 08:17:11 UTC
FEDORA-2022-2af658b090 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-2af658b090

Comment 10 Fedora Update System 2022-07-07 01:35:55 UTC
FEDORA-2022-2af658b090 has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-2af658b090`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-2af658b090

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 11 Fedora Update System 2022-07-07 02:06:18 UTC
FEDORA-2022-13cc09ecf2 has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-13cc09ecf2`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-13cc09ecf2

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 12 Fedora Update System 2022-07-15 01:16:04 UTC
FEDORA-2022-2af658b090 has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 13 Fedora Update System 2022-07-15 01:35:53 UTC
FEDORA-2022-13cc09ecf2 has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.