Build logs show a bunch of fatal errors related to SCM

Added by Etienne Massip about 6 years ago

Is that Ok?

Shouldn't these errors break the build?

E.g. for recent build on r7460:

bzr: ERROR: /var/lib/hudson/jobs/trunk-1.8.7-mysql/workspace/tmp/test/bazaar_repository/trunk/invalid is not versioned.
.bzr: ERROR: Requested revision: u'12345678' does not exist in branch: BzrBranch6('file:///var/lib/hudson/jobs/trunk-1.8.7-mysql/workspace/tmp/test/bazaar_repository/trunk/')
..bzr: ERROR: Not a branch: "/var/lib/hudson/jobs/trunk-1.8.7-mysql/workspace/tmp/test/bazaar_repository/.bzr/branch/": location is a repository.
....bzr: ERROR: u'/var/lib/hudson/jobs/trunk-1.8.7-mysql/workspace/tmp/test/bazaar_repository/trunk/invalid' is not present in revision jsmith@foo.bar-20071203175422-t40bf8li5zz0c4cg
.bzr: ERROR: Requested revision: u'12345678' does not exist in branch: BzrBranch6('file:///var/lib/hudson/jobs/trunk-1.8.7-mysql/workspace/tmp/test/bazaar_repository/trunk/')
.bzr: ERROR: Path(s) are not versioned: invalid
.bzr: ERROR: Requested revision: u'12345677' does not exist in branch: BzrBranch6('file:///var/lib/hudson/jobs/trunk-1.8.7-mysql/workspace/tmp/test/bazaar_repository/trunk/')
bzr: ERROR: Requested revision: u'87654321' does not exist in branch: BzrBranch6('file:///var/lib/hudson/jobs/trunk-1.8.7-mysql/workspace/tmp/test/bazaar_repository/trunk/')
..bzr: ERROR: Requested revision: u'12345678' does not exist in branch: BzrBranch6('file:///var/lib/hudson/jobs/trunk-1.8.7-mysql/workspace/tmp/test/bazaar_repository/trunk/')
...bzr: ERROR: Not a branch: "/invalid/invalid/".
bzr: ERROR: Not a branch: "/invalid/invalid/".
..bzr: ERROR: Path unknown at end or start of revision range: invalid
.bzr: ERROR: Requested revision: u'12345678' does not exist in branch: BzrBranch6('file:///var/lib/hudson/jobs/trunk-1.8.7-mysql/workspace/tmp/test/bazaar_repository/trunk/')
bzr: ERROR: Requested revision: u'87654321' does not exist in branch: BzrBranch6('file:///var/lib/hudson/jobs/trunk-1.8.7-mysql/workspace/tmp/test/bazaar_repository/trunk/')
....................................................................................................fatal: no such path invalid in HEAD
.fatal: bad revision 'abcd1234efgh'
..fatal: Path 'invalid' does not exist in 'HEAD'
.fatal: Invalid object name 'abcd1234efgh'.
..fatal: ambiguous argument 'abcd1234efgh': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions
fatal: ambiguous argument 'abcd1234efgh': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions
fatal: ambiguous argument 'abcd1234efgh': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions
................fatal: ambiguous argument '1234abcd..master': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions
.......................................................................................................................................................................................................................................................................................................tmp/test/mercurial_repository/sources/welcome_controller.rb: no such file in rev 3ae45e2d177d
....tmp/test/mercurial_repository/sources/welcome_controller.rb: no such file in rev 3ae45e2d177d
.abort: unknown revision '100000'!
abort: unknown revision '200000'!
..abort: unknown revision '100000'!
...........................................................................................................................................................................................................................................................................................................................................................................................................................................................
Annotations for test/README
***************

Annotations for test/README
***************
.cvs checkout: cannot find module `test/missing.rb' - ignored
..cvs rls: cannot find module `test/missing' - ignored
cvs rls: cannot find module `test/missing' - ignored
..............fatal: ambiguous argument 'abcd1234efgh..master': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions
..............................................................................................svn: Unable to open an ra_local session to URL
svn: Unable to open repository 'file:///invalid/invalid'
svn: Unable to open an ra_local session to URL
svn: Unable to open repository 'file:///invalid/invalid'

ERROR: Not a branch: "/invalid/".
bzr: ERROR: Not a branch: "/invalid/".
.............
Annotations for test/sources/watchers_controller.rb
***************
....cvs [rlog aborted]: /invalid/CVSROOT: No such file or directory
............................fatal: Not a git repository: '/invalid'
fatal: Not a git repository: '/invalid'
fatal: Not a git repository: '/invalid'
fatal: Not a git repository: '/invalid'
..................abort: repository /invalid not found!
abort: repository /invalid not found!
........................svn: Unable to open an ra_local session to URL
svn: Unable to open repository 'file:///invalid'
svn: Unable to open an ra_local session to URL
svn: Unable to open repository 'file:///invalid'

Replies (3)

RE: Build logs show a bunch of fatal errors related to SCM - Added by Toshi MARUYAMA about 6 years ago

These messages are tests for catching errors.

For example, "/invalid" is test to delete invalid repository #8777.

RE: Build logs show a bunch of fatal errors related to SCM - Added by Etienne Massip about 6 years ago

Ok, got it.

Pretty confusing, btw, is there some way to make it less scary?

RE: Build logs show a bunch of fatal errors related to SCM - Added by Toshi MARUYAMA about 6 years ago

I ran SCM tests on Rails 3.0 and 3.1.
It seems that Rails 3.0 and 3.1 catch standard error.

(1-3/3)