#1 2015-05-05 02:32:44

mingda
Member
Registered: 2013-01-04
Posts: 121

Perhaps some dead lock at TTestMultiThreadProcess.Websockets test

 2.9. External database:
  - TQuery: 2,003 assertions passed  28.40ms
  - SynDBRemote: 30,095 assertions passed  822.17ms
!  - DB properties persistence: 2 / 7 FAILED  1.53ms
  - External records: 2 assertions passed  915us
  - Auto adapt SQL: 708 assertions passed  105.48ms
  - Crypted database: 253,275 assertions passed  435.42ms
  - External via REST: 170,354 assertions passed  2.36s
  - External via virtual table: 170,354 assertions passed  3.97s
  - External via REST with change tracking: 180,454 assertions passed  6.62s
  - JET database: 7,007 assertions passed  2.95s
  Total failed: 2 / 814,259  - External database FAILED  17.32s

 2.10. Multi thread process:
  - Create thread pool: 1 assertion passed  30.42ms
  - TSQLRestServerDB: 4,822 assertions passed  252.76ms
     1=14324/s  2=9596/s  5=10028/s  10=8694/s  30=13298/s  50=8482/s
  - TSQLRestClientDB: 4,822 assertions passed  266.99ms
     1=12823/s  2=12215/s  5=12357/s  10=11306/s  30=8394/s  50=5517/s
  - TSQLRestClientURINamedPipe: 2,412 assertions passed  1.67s
     1=991/s  2=927/s  5=639/s
  - TSQLRestClientURIMessage: 3,222 assertions passed  406.55ms
     1=3281/s  2=4975/s  5=5341/s  10=3603/s
  - Windows API: 4,822 assertions passed  1.65s
     1=1256/s  2=1400/s  5=1669/s  10=1758/s  30=1696/s  50=1272/s
  - Socket API: 4,822 assertions passed  929.12ms
     1=3127/s  2=2939/s  5=3043/s  10=2881/s  30=2592/s  50=1967/s

recent, run Testsql3 multi times, sometimes the test run stop at TTestMultiThreadProcess.Websockets, output like above, and cpu is 100%, but this is not always, sometime just 1 of 5, thanks.

Offline

#2 2015-05-05 07:08:07

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,661
Website

Re: Perhaps some dead lock at TTestMultiThreadProcess.Websockets test

Which compiler are you using?

We currently have some small issues with FPC.

I will investigate further.

Offline

#3 2015-05-05 09:15:52

mingda
Member
Registered: 2013-01-04
Posts: 121

Re: Perhaps some dead lock at TTestMultiThreadProcess.Websockets test

Delphi XE,

just another hit, below new test have 2 not passed test

2.9. External database:
!  - DB properties persistence: 2 / 7 FAILED  1.53ms

and current Synopse Library Test not enable in test

procedure TTestSynopsemORMotFramework.SynopseLibraries;
begin
  //
  exit;
  AddCase([TTestLowLevelCommon,

thanks.

Offline

#4 2015-05-06 19:36:19

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,661
Website

Re: Perhaps some dead lock at TTestMultiThreadProcess.Websockets test

@mingda
The TTestExternalDatabase.DBPropertiesPersistence issue has just been fixed by http://synopse.info/fossil/info/ad27dbd9b6

Offline

Board footer

Powered by FluxBB