Bcfg2 trunk importing stopped

Bug #115257 reported by Sami Haahtinen
2
Affects Status Importance Assigned to Milestone
Launchpad itself
Invalid
Undecided
Unassigned

Bug Description

For some reason the SVN import of bcfg2 trunk is not being updated.

Imported branch is located at:
https://code.launchpad.net/~vcs-imports/bcfg2/trunk

Revision history for this message
Sami Haahtinen (ressu) wrote :

Web interface to the original branch is here: http://trac.mcs.anl.gov/projects/bcfg2/browser/trunk/bcfg2

Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

Indeed. Here's what's happening when we the import is attempted:

ERROR: C: ['encap/src/encap-profiles/bcfg2-cheetah-2.0rc7.ep', 'encap/src/encap-profiles/bcfg2-cheetah-doc-0.9.16a1.ep', 'encap/src/encap-profiles/bcfg2-elementtree-1.2.6.ep', 'encap/src/encap-profiles/bcfg2-gamin-0.1.8.ep', 'encap/src/encap-profiles/bcfg2-glib-2.12.9.ep', 'encap/src/encap-profiles/bcfg2-gzip-1.2.4b.ep', 'encap/src/encap-profiles/bcfg2-libxml2-2.6.27.ep', 'encap/src/encap-profiles/bcfg2-libxslt-1.1.20.ep', 'encap/src/encap-profiles/bcfg2-lxml-1.1.2.ep', 'encap/src/encap-profiles/bcfg2-pkg-config-0.21.ep', 'encap/src/encap-profiles/bcfg2-pyrex-0.9.5.1a.ep', 'encap/src/encap-profiles/bcfg2-python-2.4.4.ep', 'encap/src/encap-profiles/bcfg2-python-apt-0.5.10.ep', 'encap/src/encap-profiles/bcfg2-python-apt-0.6.16.2ubuntu8.ep', 'encap/src/encap-profiles/bcfg2-python-apt-0.6.19.ep', 'encap/src/encap-profiles/bcfg2-readline-5.2.ep', 'encap/src/encap-profiles/bcfg2-zlib-1.2.3.ep', 'encap/src/encap-profiles/makeself-2.1.4.ep', 'encap/src/encap-profiles/ostiary-3.4.ep', 'encap/src/encap-profiles/ostiary-doc-20060801.ep', 'encap/src/encap-profiles/patch-2.5.9.ep'], N: [], G: [], M: []
Traceback (most recent call last):
  File "/home/importd/dists/launchpad/lib/importd/CommandLineRunner.py", line 67, in ?
    main()
  File "/home/importd/dists/launchpad/lib/importd/CommandLineRunner.py", line 64, in main
    doer.runMethod(method, dirname)
  File "/home/importd/dists/launchpad/lib/importd/CommandLineRunner.py", line 57, in runMethod
    getattr(self._job, method)(logger=self.logger, dir=dirname)
  File "/home/importd/dists/launchpad/lib/importd/Job.py", line 188, in runJob
    strategy(self, dir, logger)
  File "/home/importd/dists/launchpad/lib/importd/JobStrategy.py", line 127, in sync
    self._importIncrementally(target_path)
  File "/home/importd/dists/launchpad/lib/importd/JobStrategy.py", line 153, in _importIncrementally
    self.runtobaz("-SC", "%s::" % lastCommit, target_path, self.logger)
  File "/home/importd/dists/launchpad/lib/importd/JobStrategy.py", line 86, in runtobaz
    totla.totla(config, logger, config.args, self.sourceTree())
  File "/home/importd/dists/launchpad/lib/cscvs/cmds/totla.py", line 288, in totla
    raise ValidationFailed("directories differ")
cscvs.cmds.totla.ValidationFailed: directories differ
program finished with exit code 1

It's probably a bug in the code at our end somewhere, we're looking into it.

Thanks for bringing it to our attention!

Changed in launchpad-bazaar:
status: Unconfirmed → Confirmed
Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

OK, the import is updating again, as you can see at https://launchpad.net/bcfg2/trunk .

The fun part is that the cause seems to be an SVN bug: svn update from revision A to revision B doesn't give the same results as svn checkout of revision B:

svn co https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2/encap/src/encap-profiles -r 3061 checkout1
(cd checkout1; svn up -r 3064)
svn co https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2/encap/src/encap-profiles -r 3064 checkout2
diff -qr -x .svn checkout1 checkout2

We fixed the import by making a new checkout, so this specific issue is closed (by the by, this probably should have been a question, not a bug report).

We're looking at reporting the SVN bug upstream now...

Changed in launchpad-bazaar:
status: Confirmed → Fix Released
Changed in launchpad:
status: Unconfirmed → Rejected
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.