ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] Fwd: python-module-bibtex-1.2.4-alt3.2: Sisyphus/i586 test rebuild failed
@ 2011-02-14  9:22 REAL
  2011-02-14  9:47 ` Dmitry V. Levin
  2011-02-14 11:16 ` Ivan Fedorov
  0 siblings, 2 replies; 3+ messages in thread
From: REAL @ 2011-02-14  9:22 UTC (permalink / raw)
  To: ALT Linux Team development discussions

привет!

отчего такое могло сломаться?

-------- Исходное сообщение --------
Тема: python-module-bibtex-1.2.4-alt3.2: Sisyphus/i586 test rebuild failed
Дата: Mon, 14 Feb 2011 10:57:23 +0300 (MSK)
От: ALT beekeeper <beehive@altlinux.org>
Отвечать: devel@lists.altlinux.org
Кому: 
lav@altlinux.org,qa@packages.altlinux.org,python@packages.altlinux.org
Копия: beehive@altlinux.org

[...]
+ python setup.py check
running check
running build
running build_ext
error: tests/simple-2.bib: line 1: unexpected result:
error: tests/simple-2.bib: line 1:    obtained ('entry', ('gobry03', 
'article', 0, 1, {'journal': (0, 0, 'My diary'), 'author': (1, 0, 
'Fr\xe9d\xe9ric Gobry', [(None, 'Fr\xe9d\xe9ric', 'Gobry', None)]), 
'year': (3, 0, '2003', 2003, 0, 0), 'title': (2, 0, 'A simple example')}))
error: tests/simple-2.bib: line 1:    expected ('entry', ('gobry03', 
'article', 0, 1, {'journal': (0, 0, 'My diary'), 'title': (2, 0, 'A 
simple example'), 'year': (3, 0, '2003', 2003, 0, 0), 'author': (1, 0, 
'Fr\xe9d\xe9ric Gobry', [(None, 'Fr\xe9d\xe9ric', 'Gobry', None)])}))
error: tests/simple.bib: line 1: unexpected result:
error: tests/simple.bib: line 1:    obtained ('gobry03', 'article', 0, 
1, {'journal': (0, 0, 'My diary'), 'author': (1, 0, 'Fr\xe9d\xe9ric 
Gobry', [(None, 'Fr\xe9d\xe9ric', 'Gobry', None)]), 'year': (3, 0, 
'2003', 2003, 0, 0), 'title': (2, 0, 'A simple example')})
error: tests/simple.bib: line 1:    expected ('gobry03', 'article', 0, 
1, {'journal': (0, 0, 'My diary'), 'title': (2, 0, 'A simple 
example'), 'year': (3, 0, '2003', 2003, 0, 0), 'author': (1, 0, 
'Fr\xe9d\xe9ric Gobry', [(None, 'Fr\xe9d\xe9ric', 'Gobry', None)])})
testsuite: 12 checks, 3 failures
error: check failed.
error: Bad exit status from /usr/src/tmp/rpm-tmp.60735 (%build)



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [devel] Fwd: python-module-bibtex-1.2.4-alt3.2: Sisyphus/i586 test rebuild failed
  2011-02-14  9:22 [devel] Fwd: python-module-bibtex-1.2.4-alt3.2: Sisyphus/i586 test rebuild failed REAL
@ 2011-02-14  9:47 ` Dmitry V. Levin
  2011-02-14 11:16 ` Ivan Fedorov
  1 sibling, 0 replies; 3+ messages in thread
From: Dmitry V. Levin @ 2011-02-14  9:47 UTC (permalink / raw)
  To: ALT Linux Team development discussions

[-- Attachment #1: Type: text/plain, Size: 1648 bytes --]

On Mon, Feb 14, 2011 at 03:22:08PM +0600, REAL wrote:
> отчего такое могло сломаться?

На неделе обновился пакет glib2, из-за чего сломалось много пакетов.
Возможно, и этот пакет пострадал.  А может и сам тест кривой, его уже на
эту тему патчили однажды, см. python-module-bibtex-1.2.4-fix-test.patch

[...]
> error: tests/simple-2.bib: line 1: unexpected result:
> error: tests/simple-2.bib: line 1:    obtained ('entry', ('gobry03', 
> 'article', 0, 1, {'journal': (0, 0, 'My diary'), 'author': (1, 0, 
> 'Fr\xe9d\xe9ric Gobry', [(None, 'Fr\xe9d\xe9ric', 'Gobry', None)]), 
> 'year': (3, 0, '2003', 2003, 0, 0), 'title': (2, 0, 'A simple example')}))
> error: tests/simple-2.bib: line 1:    expected ('entry', ('gobry03', 
> 'article', 0, 1, {'journal': (0, 0, 'My diary'), 'title': (2, 0, 'A 
> simple example'), 'year': (3, 0, '2003', 2003, 0, 0), 'author': (1, 0, 
> 'Fr\xe9d\xe9ric Gobry', [(None, 'Fr\xe9d\xe9ric', 'Gobry', None)])}))
> error: tests/simple.bib: line 1: unexpected result:
> error: tests/simple.bib: line 1:    obtained ('gobry03', 'article', 0, 
> 1, {'journal': (0, 0, 'My diary'), 'author': (1, 0, 'Fr\xe9d\xe9ric 
> Gobry', [(None, 'Fr\xe9d\xe9ric', 'Gobry', None)]), 'year': (3, 0, 
> '2003', 2003, 0, 0), 'title': (2, 0, 'A simple example')})
> error: tests/simple.bib: line 1:    expected ('gobry03', 'article', 0, 
> 1, {'journal': (0, 0, 'My diary'), 'title': (2, 0, 'A simple 
> example'), 'year': (3, 0, '2003', 2003, 0, 0), 'author': (1, 0, 
> 'Fr\xe9d\xe9ric Gobry', [(None, 'Fr\xe9d\xe9ric', 'Gobry', None)])})
> testsuite: 12 checks, 3 failures
> error: check failed.


-- 
ldv

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [devel] Fwd: python-module-bibtex-1.2.4-alt3.2: Sisyphus/i586 test rebuild failed
  2011-02-14  9:22 [devel] Fwd: python-module-bibtex-1.2.4-alt3.2: Sisyphus/i586 test rebuild failed REAL
  2011-02-14  9:47 ` Dmitry V. Levin
@ 2011-02-14 11:16 ` Ivan Fedorov
  1 sibling, 0 replies; 3+ messages in thread
From: Ivan Fedorov @ 2011-02-14 11:16 UTC (permalink / raw)
  To: ALT Linux Team development discussions

[-- Attachment #1: Type: text/plain, Size: 413 bytes --]

REAL <root-XyxB0HWlAKVWnflWhxl0hQ@public.gmane.org> writes:

> привет!
>
> отчего такое могло сломаться?

От того, что автор теста имбецил, который догадался сравнивать строковое
представление словарей:

testsuite.py:

...
valid = result.readline ().strip ()
if obtained != valid:
...

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-02-14 11:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-14  9:22 [devel] Fwd: python-module-bibtex-1.2.4-alt3.2: Sisyphus/i586 test rebuild failed REAL
2011-02-14  9:47 ` Dmitry V. Levin
2011-02-14 11:16 ` Ivan Fedorov

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