Build NHibernate::NHibernate.Search #2.1.0.1257 failed (tests failed: 6 (6 new), passed: 124) Agent: agent01 Build results: http://teamcity.codebetter.com/viewLog.html?buildId=9530&buildTypeId=bt16
Failed Tests Summary: Newly failed tests (6 tests, alphabetically ordered) ================================================================== NHibernate.Search.Tests.DirectoryProvider.FSSlaveAndMasterDPTest.ProperCopy NHibernate.Search.Tests.Shards.ShardsTest.InternalSharding NHibernate.Search.Tests.Shards.ShardsTest.StandardBehavior NHibernate.Search.Tests.dll: NHibernate.Search.Tests.DirectoryProvider.FSSlaveAndMasterDPTest.ProperCopy NHibernate.Search.Tests.dll: NHibernate.Search.Tests.Shards.ShardsTest.InternalSharding NHibernate.Search.Tests.dll: NHibernate.Search.Tests.Shards.ShardsTest.StandardBehavior Newly failed tests details (only first 3 failures shown here) ================================================================== NHibernate.Search.Tests.dll: NHibernate.Search.Tests.DirectoryProvider.FSSlaveAndMasterDPTest.ProperCopy ================= First copy did not work out Expected: 1 But was: 0 at NUnit.Framework.Assert.That(Object actual, IResolveConstraint expression, String message, Object[] args) at NUnit.Framework.Assert.AreEqual(Int32 expected, Int32 actual, String message) at NHibernate.Search.Tests.DirectoryProvider.FSSlaveAndMasterDPTest.ProperCopy() ------- Stdout: ------- 07:12:49,897 WARN FSSlaveDirectoryProvider:0 - Unable to determine current in source directory 07:12:51,881 WARN FSSlaveDirectoryProvider:0 - Unable to determine current in source directory 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: ------- 07:14:25,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) 07:14:25,397 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) 07:14:25,397 ERROR TestCase:0 - Test case didn't close a session, closing 07:14:25,412 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: ------- 07:14:25,459 ERROR TestCase:0 - Test case didn't close a session, closing see all newly failed tests: http://teamcity.codebetter.com/viewLog.html?buildId=9530&buildTypeId=bt16 Changes included (1 change) ==================================================== Change 1257 by phatcher (7 files): Fixed sharding bug - needed correct hash implementation and fixes to configuration reading. Tests work individually, but not together - timing/threading bug not related to this code. see more information about changed files: http://teamcity.codebetter.com/viewLog.html?tab=buildChangesDiv&buildId=9530&buildTypeId=bt16 ============================================================================ Configure email notifications: http://teamcity.codebetter.com/profile.html?init=1#notifications
