ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Paul Wolneykien <manowar@altlinux.org>
To: devel@lists.altlinux.org
Subject: Re: [devel] %check в один поток
Date: Mon, 30 Nov 2020 18:43:20 +0300
Message-ID: <20201130184320.37dcad5c@rigel.localdomain> (raw)
In-Reply-To: <20201130154028.GG24391@altlinux.org>

В Mon, 30 Nov 2020 18:40:28 +0300
"Dmitry V. Levin" <ldv@altlinux.org> пишет:

> On Mon, Nov 30, 2020 at 06:30:37PM +0300, Paul Wolneykien wrote:
> > В Mon, 30 Nov 2020 18:26:42 +0300, Paul Wolneykien пишет:  
> > > В Mon, 30 Nov 2020 18:09:45 +0300, Dmitry V. Levin пишет:  
> > > > On Mon, Nov 30, 2020 at 05:15:53PM +0300, Paul Wolneykien
> > > > wrote:    
> > > > > В Mon, 30 Nov 2020 16:41:20 +0300, Dmitry V. Levin пишет:
> > > > >  
> > > > > > On Mon, Nov 30, 2020 at 04:30:24PM +0300, Paul Wolneykien
> > > > > > wrote:      
> > > > > > > В Mon, 30 Nov 2020 16:21:35 +0300, Dmitry V. Levin пишет:
> > > > > > >      
> > > > > > > > On Mon, Nov 30, 2020 at 03:58:31PM +0300, Paul
> > > > > > > > Wolneykien wrote:        
> > > > > > > > > 
> > > > > > > > >   Товарищи, а могу я через __spec_check_custom_pre или
> > > > > > > > > подобное место (через аргументы hsh в итоге) сделать
> > > > > > > > > так, чтобы секция %check выполнялась бы строго в 1
> > > > > > > > > поток, чтобы там было NPROCS=1? А выполнение всех
> > > > > > > > > прочих секций spec оставить с NPROCS по умолчанию?
> > > > > > > > >       
> > > > > > > > 
> > > > > > > > А если просто написать NPROCS=1 в начале секции %check?
> > > > > > > >    
> > > > > > > 
> > > > > > >   У меня получилось вот так:
> > > > > > > 
> > > > > > > hsh ... --build-args="--define=\"__spec_check_custom_pre
> > > > > > > export NPROCS=1\"" ...
> > > > > > > 
> > > > > > >   И я даже смог собрать strace! ;-)        
> > > > > > 
> > > > > > Ну, strace с его 900+ тестами лучше собирать без этого! :)
> > > > > >     
> > > > > 
> > > > >   Знаю. Но в N потоков тесты не проходят на c9f1. Кажется, и
> > > > > на p9 тоже. Починишь?      
> > > > 
> > > > На p9 проходят, см.
> > > > beehive/logs/p9/x86_64/latest/success/strace-5.9-alt1, а что
> > > > такое c9f1, я не знаю. :)    
> > > 
> > >   Ходят слухи, что на beehive всё в 1 поток собирается...  
> > 
> >   Может, врут, конечно. Но тогда что я делаю не так:
> > 
> > hsh -v --mountpoints=/proc,/dev/pts --without-stuff
> > --query-repackage --lazy-cleanup
> > --apt-config=$HOME/apt.conf.d/apt.i586.p9.conf --target=i586
> > $TMPDIR/hasher /ALT/p9/files/SRPMS/strace-5.9-alt1.src.rpm ... ...
> > FAIL qual_fault.test (exit status: 1)  
> 
> Для начала надо цитировать правильно, там ведь специально VERBOSE=1,
> чтобы можно было посмотреть в логе сборки, какого именно ресурса не
> хватило.

  А чего грепнуть? Нельзя же сюда весь лог тащить, право...


  reply	other threads:[~2020-11-30 15:43 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-30 12:58 Paul Wolneykien
2020-11-30 13:21 ` Dmitry V. Levin
2020-11-30 13:30   ` Paul Wolneykien
2020-11-30 13:41     ` Dmitry V. Levin
2020-11-30 14:15       ` Paul Wolneykien
2020-11-30 15:09         ` Dmitry V. Levin
2020-11-30 15:10           ` Mikhail Novosyolov
2020-11-30 15:16             ` Dmitry V. Levin
2020-11-30 16:48               ` Mikhail Novosyolov
2020-11-30 15:26           ` Paul Wolneykien
2020-11-30 15:30             ` Paul Wolneykien
2020-11-30 15:40               ` Dmitry V. Levin
2020-11-30 15:43                 ` Paul Wolneykien [this message]
2020-11-30 15:58                   ` Dmitry V. Levin
2020-11-30 15:37             ` Dmitry V. Levin

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=20201130184320.37dcad5c@rigel.localdomain \
    --to=manowar@altlinux.org \
    --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