ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Aleksey Avdeev <solo@solin.spb.ru>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: [devel] Q: Обновление subversion: нестабильность теста diff_tests.py 32
Date: Mon, 03 Dec 2012 21:12:32 +0400
Message-ID: <50BCDD80.9060203@solin.spb.ru> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 1220 bytes --]

Приветствую.

  Т. к. текущая версия subversion (1.6.17) при сборке с новыми
apr1/aprutil1 не проходит make check (рушится заметное число тестов), то
в рамках обновления aprutil1 (см.
<http://git.altlinux.org/tasks/85020/logs/events.11.1.log>) готовлю
обновление subversion до 1.6.19. Проблема в том, что и в 1.6.19 надёжно
работают не все тесты (апстрим в курсе данной проблемы см.
<http://comments.gmane.org/gmane.comp.version-control.subversion.devel/137602>).
В частности, мне так и не удалось добиться надёжной работы теста
diff_tests.py 32 -- он далеко не всегда отрабатывает нормально (см.
вложение diff_tests.py.32.FAIL).

  В текущем варианте subversion-1.6.19-alt1 я борюсь с этим, поместив
вызов make check в цикл ограниченный 5 попытками. Допустим ли такой
вариант в данной ситуации? (Т. е. могу ли я отправить task 85020 в Сизиф?)

PS: Всего вариантов вижу несколько:

1. Делать несколько попыток тестирования, вместо одной (текущий вариант).

2. Отключить тесты.

3. Проверить на наличие этой проблемы у subversion-1.7.6 (но не факт,
что там данная проблема исправлена).

4. Попробовать локализовать и решить проблему на уровне apr1/aprutil1.

-- 

С уважением. Алексей.



[-- Attachment #1.2: diff_tests.py.32.FAIL --]
[-- Type: text/plain, Size: 2667 bytes --]

EXPECTED STDOUT:
Index: foo
===================================================================
--- foo	(revision 0)
+++ foo	(revision 3)
@@ -0,0 +1 @@
+content

Property changes on: foo
___________________________________________________________________
Added: propname
   + propvalue


Property changes on: X
___________________________________________________________________
Added: propname
   + propvalue

Index: X/bar
===================================================================
--- X/bar	(revision 0)
+++ X/bar	(revision 3)
@@ -0,0 +1 @@
+content

Property changes on: X/bar
___________________________________________________________________
Added: propname
   + propvalue

ACTUAL STDOUT:

Property changes on: X
___________________________________________________________________
Added: propname
   + propvalue

Index: X/bar
===================================================================
--- X/bar	(revision 0)
+++ X/bar	(revision 3)
@@ -0,0 +1 @@
+content

Property changes on: X/bar
___________________________________________________________________
Added: propname
   + propvalue

Index: foo
===================================================================
--- foo	(revision 0)
+++ foo	(revision 3)
@@ -0,0 +1 @@
+content

Property changes on: foo
___________________________________________________________________
Added: propname
   + propvalue

EXCEPTION: SVNLineUnequal
Traceback (most recent call last):
  File "/usr/src/RPM/BUILD/subversion-1.6.19/subversion/tests/cmdline/svntest/main.py", line 1229, in run
    rc = self.pred.run(**kw)
  File "/usr/src/RPM/BUILD/subversion-1.6.19/subversion/tests/cmdline/svntest/testcase.py", line 121, in run
    return self.func(sandbox)
  File "./diff_tests.py", line 2191, in diff_repos_wc_add_with_props
    'diff', '-r', '1')
  File "/usr/src/RPM/BUILD/subversion-1.6.19/subversion/tests/cmdline/svntest/actions.py", line 202, in run_and_verify_svn
    expected_exit, *varargs)
  File "/usr/src/RPM/BUILD/subversion-1.6.19/subversion/tests/cmdline/svntest/actions.py", line 236, in run_and_verify_svn2
    verify.verify_outputs(message, out, err, expected_stdout, expected_stderr)
  File "/usr/src/RPM/BUILD/subversion-1.6.19/subversion/tests/cmdline/svntest/verify.py", line 356, in verify_outputs
    compare_and_display_lines(message, label, expected, actual, raisable)
  File "/usr/src/RPM/BUILD/subversion-1.6.19/subversion/tests/cmdline/svntest/verify.py", line 328, in compare_and_display_lines
    raise raisable
SVNLineUnequal
FAIL:  diff_tests.py 32: repos-wc diff showing added entries with props


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 900 bytes --]

             reply	other threads:[~2012-12-03 17:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-03 17:12 Aleksey Avdeev [this message]
2012-12-05 11:12 ` Aleksey Avdeev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=50BCDD80.9060203@solin.spb.ru \
    --to=solo@solin.spb.ru \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git