[Buildbot-commits] [SPAM] [Buildbot] #941: Loose branch in builder with AnyBranchScheduler

Buildbot buildbot-devel at lists.sourceforge.net
Fri Jul 30 15:51:52 UTC 2010


#941: Loose branch in builder with AnyBranchScheduler
---------------------+------------------------------------------------------
Reporter:  bsavelev  |       Owner:           
    Type:  defect    |      Status:  new      
Priority:  major     |   Milestone:  undecided
 Version:  0.8.1     |    Keywords:           
---------------------+------------------------------------------------------
 each builder have scheduler with fake ImportantFiles that equal name of
 builder

 for 0.8.1 it look like that:
 {{{  c['schedulers'].append(buildbot.schedulers.basic.AnyBranchScheduler(
     name = 'cron_' + builder.fullname(),
     builderNames = (builder.fullname(),),
     treeStableTimer = 60,
     branches = None,
     properties = {'forgetsource': 'yes'},
     fileIsImportant = lambda c, builder = "cron_%s" % builder.fullname():
 builder in c.files
   ))
 }}}
 when I send change, for example,
 {{{
 buildbot sendchange --username 'test' --master buildbot.i.drweb.ru:9989
 --comments 'test' cron_drweb-common_6.0.0_drweb_solaris_all
 }}}

 build fail on git step with log:
 {{{
 ...skip...
  argv: ['/opt/csw/bin/git', 'reset', '--hard', 'None']
  environment:
   CVS_RSH=ssh
   DOMAIN_USER=a.nikolov
   LC_COLLATE=ru_RU.UTF-8
   LC_CTYPE=ru_RU.UTF-8
   LC_MESSAGES=C
   LC_MONETARY=ru_RU.UTF-8
   LC_NUMERIC=ru_RU.UTF-8
   LC_TIME=ru_RU.UTF-8
 PATH=/opt/csw/bin:/opt/csw/gcc4/bin:/usr/xpg4/bin:/usr/local/bin:/usr/openwin/bin:/usr/sfw/bin:/usr/sbin:/usr/bin:/usr/ucb:/usr/ccs/bin
   PWD=/srv/slaves/al/solaris10-gcc44/BUILDDIR-drweb-
 common_6.0.0_drweb_solaris_all/build
   TZ=Europe/Moscow
   _INIT_PREV_LEVEL=S
   _INIT_RUN_LEVEL=3
   _INIT_RUN_NPREV=0
   _INIT_UTS_ISA=i386
   _INIT_UTS_MACHINE=i86pc
   _INIT_UTS_NODENAME=solaris10
   _INIT_UTS_PLATFORM=i86pc
   _INIT_UTS_RELEASE=5.10
   _INIT_UTS_SYSNAME=SunOS
   _INIT_UTS_VERSION=Generic_139556-08
   _INIT_ZONENAME=solaris10
  closing stdin
  using PTY: False
 fatal: ambiguous argument 'None': unknown revision or path not in the
 working tree.
 Use '--' to separate paths from revisions
 }}}
 so, I see that '/opt/csw/bin/git reset --hard None' is wrong
 In forced build it was '/opt/csw/bin/git reset --hard FETCH_HEAD'

 I can't understand what is different from 'force build' and 'build form
 scheduler'

-- 
Ticket URL: <http://buildbot.net/trac/ticket/941>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the Commits mailing list