Build NHibernate::NHibernate.Search #2.1.0.1260 failed (tests failed: 4, passed: 128) Agent: agent01 Build results: http://teamcity.codebetter.com/viewLog.html?buildId=9554&buildTypeId=bt16
Failed Tests Summary: Failed tests (4 tests, alphabetically ordered) ================================================================== NHibernate.Search.Tests.Shards.ShardsTest.InternalSharding NHibernate.Search.Tests.Shards.ShardsTest.StandardBehavior NHibernate.Search.Tests.dll: NHibernate.Search.Tests.Shards.ShardsTest.InternalSharding NHibernate.Search.Tests.dll: NHibernate.Search.Tests.Shards.ShardsTest.StandardBehavior Failed tests details (only first 3 failures shown here) ================================================================== NHibernate.Search.Tests.dll: NHibernate.Search.Tests.Shards.ShardsTest.StandardBehavior ================= NHibernate.Search.Impl.SearchException : Unable to open Lucene IndexReader ----> System.IO.FileNotFoundException : no segments* file found in lucene.net.store.fsdirect...@d:\Builds\NHibernate.Search\build\indextemp\Animal00: files: TearDown : System.Reflection.TargetInvocationException : Exception has been thrown by the target of an invocation. ----> NUnit.Framework.AssertionException : Test didn't clean up after itself at NHibernate.Search.Reader.SharedReaderProvider.ReplaceActiveReader(IndexReader outOfDateReader, Object directoryProviderLock, IDirectoryProvider directoryProvider, IndexReader[] readers) at NHibernate.Search.Reader.SharedReaderProvider.OpenReader(IDirectoryProvider[] directoryProviders) at NHibernate.Search.Query.FullTextSearchHelper.BuildSearcher(ISearchFactoryImplementor searchFactory, ISet`1& classesAndSubclasses, Type[] classes) at NHibernate.Search.Query.FullTextQueryImpl.List(IList list) at NHibernate.Search.Query.FullTextQueryImpl.List() at NHibernate.Search.Tests.Shards.ShardsTest.StandardBehavior() --SearchException at Lucene.Net.Index.SegmentInfos.FindSegmentsFile.Run() at Lucene.Net.Index.DirectoryIndexReader.Open(Directory directory, Boolean closeDirectory, IndexDeletionPolicy deletionPolicy) at Lucene.Net.Index.IndexReader.Open(Directory directory, Boolean closeDirectory, IndexDeletionPolicy deletionPolicy) at Lucene.Net.Index.IndexReader.Open(Directory directory) at NHibernate.Search.Reader.SharedReaderProvider.ReplaceActiveReader(IndexReader outOfDateReader, Object directoryProviderLock, IDirectoryProvider directoryProvider, IndexReader[] readers) --TearDown at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at NUnit.Core.TestMethod.doTearDown(TestCaseResult testResult) --TargetInvocationException at NUnit.Framework.Assert.Fail(String message, Object[] args) at NHibernate.Test.TestCase.TearDown() ------- Stdout: ------- 06:57:11,350 ERROR AdoTransaction:0 - exception calling user Synchronization NHibernate.Search.Impl.SearchException: Unable to open IndexWriter for NHibernate.Search.Tests.Shards.Animal ---> System.IO.FileNotFoundException: no segments* file found in lucene.net.store.fsdirect...@d:\Builds\NHibernate.Search\build\indextemp\Animal00: files: at Lucene.Net.Index.IndexWriter.Init(Directory d, Analyzer a, Boolean create, Boolean closeDir, IndexDeletionPolicy deletionPolicy, Boolean autoCommit) at Lucene.Net.Index.IndexWriter..ctor(Directory d, Analyzer a, Boolean create) at NHibernate.Search.Backend.Workspace.GetIndexWriter(IDirectoryProvider provider, Type entity, Boolean modificationOperation) --- End of inner exception stack trace --- at NHibernate.Search.Backend.Workspace.CleanUp(SearchException originalException) at NHibernate.Search.Backend.Workspace.GetIndexWriter(IDirectoryProvider provider, Type entity, Boolean modificationOperation) at NHibernate.Search.Backend.Impl.Lucene.LuceneWorker.Add(Type entity, Object id, Document document, IDirectoryProvider provider) at NHibernate.Search.Backend.Impl.Lucene.LuceneWorker.PerformWork(WorkWithPayload luceneWork) at NHibernate.Search.Backend.Impl.Lucene.LuceneBackendQueueProcessor.Run(Object ignore) at NHibernate.Search.Backend.Impl.BatchedQueueingProcessor.PerformWorks(WorkQueue workQueue) at NHibernate.Search.Backend.Impl.PostTransactionWorkQueueSynchronization.AfterCompletion(Boolean success) at NHibernate.Transaction.AdoTransaction.NotifyLocalSynchsAfterTransactionCompletion(Boolean success) 06:57:11,366 ERROR AdoTransaction:0 - exception calling user Synchronization NHibernate.Search.Impl.SearchException: Unable to open IndexWriter for NHibernate.Search.Tests.Shards.Furniture ---> System.IO.FileNotFoundException: no segments* file found in lucene.net.store.fsdirect...@d:\Builds\NHibernate.Search\build\indextemp\Furniture: files: at Lucene.Net.Index.IndexWriter.Init(Directory d, Analyzer a, Boolean create, Boolean closeDir, IndexDeletionPolicy deletionPolicy, Boolean autoCommit) at Lucene.Net.Index.IndexWriter..ctor(Directory d, Analyzer a, Boolean create) at NHibernate.Search.Backend.Workspace.GetIndexWriter(IDirectoryProvider provider, Type entity, Boolean modificationOperation) --- End of inner exception stack trace --- at NHibernate.Search.Backend.Workspace.CleanUp(SearchException originalException) at NHibernate.Search.Backend.Workspace.GetIndexWriter(IDirectoryProvider provider, Type entity, Boolean modificationOperation) at NHibernate.Search.Backend.Impl.Lucene.LuceneWorker.Add(Type entity, Object id, Document document, IDirectoryProvider provider) at NHibernate.Search.Backend.Impl.Lucene.LuceneWorker.PerformWork(WorkWithPayload luceneWork) at NHibernate.Search.Backend.Impl.Lucene.LuceneBackendQueueProcessor.Run(Object ignore) at NHibernate.Search.Backend.Impl.BatchedQueueingProcessor.PerformWorks(WorkQueue workQueue) at NHibernate.Search.Backend.Impl.PostTransactionWorkQueueSynchronization.AfterCompletion(Boolean success) at NHibernate.Transaction.AdoTransaction.NotifyLocalSynchsAfterTransactionCompletion(Boolean success) 06:57:11,366 ERROR TestCase:0 - Test case didn't close a session, closing 06:57:11,381 ERROR TestCase:0 - Test case didn't clean up the database after itself, re-creating the schema NHibernate.Search.Tests.dll: NHibernate.Search.Tests.Shards.ShardsTest.InternalSharding ================= NHibernate.PersistentObjectException : detached entity passed to persist: NHibernate.Search.Tests.Shards.Animal TearDown : System.Reflection.TargetInvocationException : Exception has been thrown by the target of an invocation. ----> NUnit.Framework.AssertionException : Test didn't clean up after itself at NHibernate.Event.Default.DefaultPersistEventListener.OnPersist(PersistEvent event, IDictionary createdAlready) at NHibernate.Impl.SessionImpl.FirePersist(PersistEvent event) at NHibernate.Impl.SessionImpl.Persist(String entityName, Object obj) at NHibernate.Impl.SessionImpl.Persist(Object obj) at NHibernate.Search.Tests.Shards.ShardsTest.InternalSharding() --TearDown at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at NUnit.Core.TestMethod.doTearDown(TestCaseResult testResult) --TargetInvocationException at NUnit.Framework.Assert.Fail(String message, Object[] args) at NHibernate.Test.TestCase.TearDown() ------- Stdout: ------- 06:57:11,412 ERROR TestCase:0 - Test case didn't close a session, closing NHibernate.Search.Tests.Shards.ShardsTest.StandardBehavior ================= NHibernate.Search.Impl.SearchException : Unable to open Lucene IndexReader ----> System.IO.FileNotFoundException : no segments* file found in lucene.net.store.fsdirect...@d:\Builds\NHibernate.Search\build\indextemp\Animal00: files: TearDown : System.Reflection.TargetInvocationException : Exception has been thrown by the target of an invocation. ----> NUnit.Framework.AssertionException : Test didn't clean up after itself at NHibernate.Search.Reader.SharedReaderProvider.ReplaceActiveReader(IndexReader outOfDateReader, Object directoryProviderLock, IDirectoryProvider directoryProvider, IndexReader[] readers) at NHibernate.Search.Reader.SharedReaderProvider.OpenReader(IDirectoryProvider[] directoryProviders) at NHibernate.Search.Query.FullTextSearchHelper.BuildSearcher(ISearchFactoryImplementor searchFactory, ISet`1& classesAndSubclasses, Type[] classes) at NHibernate.Search.Query.FullTextQueryImpl.List(IList list) at NHibernate.Search.Query.FullTextQueryImpl.List() at NHibernate.Search.Tests.Shards.ShardsTest.StandardBehavior() --SearchException at Lucene.Net.Index.SegmentInfos.FindSegmentsFile.Run() at Lucene.Net.Index.DirectoryIndexReader.Open(Directory directory, Boolean closeDirectory, IndexDeletionPolicy deletionPolicy) at Lucene.Net.Index.IndexReader.Open(Directory directory, Boolean closeDirectory, IndexDeletionPolicy deletionPolicy) at Lucene.Net.Index.IndexReader.Open(Directory directory) at NHibernate.Search.Reader.SharedReaderProvider.ReplaceActiveReader(IndexReader outOfDateReader, Object directoryProviderLock, IDirectoryProvider directoryProvider, IndexReader[] readers) --TearDown at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at NUnit.Core.TestMethod.doTearDown(TestCaseResult testResult) --TargetInvocationException at NHibernate.Test.TestCase.TearDown() Changes included (1 change) ==================================================== Change 1260 by phatcher (4 files): NHSR-25: Manual indexing dynamically proxy uses incorrect class name; also implemented Unproxy using code from NH test Minor style tidy up. see more information about changed files: http://teamcity.codebetter.com/viewLog.html?tab=buildChangesDiv&buildId=9554&buildTypeId=bt16 ============================================================================ Configure email notifications: http://teamcity.codebetter.com/profile.html?init=1#notifications
