#1 2016-04-09 21:51:20

miab3
Member
From: Poland
Registered: 2014-10-01
Posts: 188

A few bugs in the D2007

@qb,

mORMot 1.18.2528
(In Delphi XE2 32/64 is fine)

   Synopse mORMot Framework Automated tests
  ------------------------------------------


1. Synopse libraries

 1.1. Low level common:
  - System copy record: 83 assertions passed  333us
  - TRawUTF8List: 130,009 assertions passed  169.18ms
  - TDynArray: 1,082,725 assertions passed  237.87ms
  - TDynArrayHashed: 1,200,629 assertions passed  222.48ms
  - TObjectListHashed: 999,897 assertions passed  630.57ms
  - TObjectDynArrayWrapper: 167,501 assertions passed  41.95ms
  - TObjArray: 2,016 assertions passed  2.27ms
  - Fast string compare: 24 assertions passed  278us
  - IdemPropName: 197 assertions passed  295us
  - Url encoding: 150 assertions passed  1.27ms
  - GUID: 9,005 assertions passed  2.50ms
  - IsMatch: 599 assertions passed  533us
  - Soundex: 35 assertions passed  226us
  - Numerical conversions: 1,115,446 assertions passed  413.11ms
  - crc32c: 20,020 assertions passed  81.03ms
      pas 27.39ms 217.7 MB/s fast 4.87ms 1.1 GB/s
  - Curr 64: 20,053 assertions passed  2.17ms
  - CamelCase: 11 assertions passed  273us
  - Bits: 4,774 assertions passed  378us
  - Ini files: 7,004 assertions passed  36.50ms
  - UTF8: 105,137 assertions passed  1.02s
  - Iso 8601 date and time: 48,017 assertions passed  8.50ms
  - Time zones: 407 assertions passed  17.43ms
  - Url decoding: 1,100 assertions passed  467us
  - Mime types: 30 assertions passed  289us
  - TSynTable: 875 assertions passed  3.98ms
  - TSynCache: 404 assertions passed  272us
  - TSynFilter: 1,005 assertions passed  3.17ms
  - TSynValidate: 677 assertions passed  1.13ms
  - TSynLogFile: 42 assertions passed  1.24ms
  - TSynUniqueIdentifier: 1,300,002 assertions passed  676.79ms
  - TSynDictionary: 119,930 assertions passed  58.38ms
  Total failed: 0 / 6,337,804  - Low level common PASSED  3.66s

 1.2. Low level types:
  - RTTI: 410 assertions passed  733us
  - Url encoding: 200 assertions passed  822us
  - Encode decode JSON: 280,786 assertions passed  204.03ms
  - Variants: 48 assertions passed  277us
  - Mustache renderer: 144 assertions passed  15.53ms
  - TDocVariant: 71,784 assertions passed  197.56ms
  - BSON: 245,050 assertions passed  9.50ms
  - TSynTableStatement: 206 assertions passed  622us
  - TSynMonitorUsage: 1,202 assertions passed  610us
  Total failed: 0 / 599,830  - Low level types PASSED  439.13ms

 1.3. Big table:
  - TSynBigTable: 19,234 assertions passed  185.32ms
  - TSynBigTableString: 16,238 assertions passed  30.16ms
  - TSynBigTableMetaData: 475,563 assertions passed  1.34s
  - TSynBigTableRecord: 375,563 assertions passed  1.90s
  Total failed: 0 / 886,598  - Big table PASSED  3.46s

 1.4. Synopse PDF:
!  - TPdfDocument: 1 / 2 FAILED  108.18ms
  - TPdfDocumentGDI: 5 assertions passed  1.04s
  Total failed: 1 / 7  - Synopse PDF FAILED  1.16s

 1.5. Cryptographic routines:
  - Adler32: 1 assertion passed  899us
  - MD5: 86 assertions passed  683us
  - SHA1: 10 assertions passed  11.07ms
  - SHA256: 8 assertions passed  14.26ms
  - AES256: 16,816 assertions passed  1.06s
  - RC4: 1 assertion passed  204us
  - Base64: 11,994 assertions passed  132.55ms
  - CompressShaAes: 1,683 assertions passed  7.63ms
  - TAESPNRG: 9,999 assertions passed  97.58ms
  Total failed: 0 / 40,598  - Cryptographic routines PASSED  1.34s

 1.6. Compression:
  - In memory compression: 12 assertions passed  410.09ms
  - GZIP format: 19 assertions passed  787.04ms
  - ZIP format: 79 assertions passed  2.92s
  - SynLZO: 3,006 assertions passed  122.83ms
  - SynLZ: 32,219 assertions passed  788.89ms
  Total failed: 0 / 35,335  - Compression PASSED  5.03s


2. mORMot

 2.1. File based:
  - Database direct access: 20,251 assertions passed  265.46ms
  - Virtual table direct access: 12 assertions passed  15.11ms
  - TSQLTableJSON: 144,070 assertions passed  162.07ms
  - TSQLRestClientDB: 608,193 assertions passed  6.31s
  - TRecordVersion: 20,060 assertions passed  183.20ms
  Total failed: 0 / 792,586  - File based PASSED  6.94s

 2.2. File based memory map:
  - Database direct access: 20,246 assertions passed  229.38ms
  - Virtual table direct access: 12 assertions passed  2.33ms
  - TSQLTableJSON: 144,070 assertions passed  145.70ms
  - TSQLRestClientDB: 608,192 assertions passed  6.01s
  - TRecordVersion: 20,060 assertions passed  196.22ms
  Total failed: 0 / 792,580  - File based memory map PASSED  6.59s

 2.3. File based WAL:
  - Database direct access: 20,251 assertions passed  262.14ms
  - Virtual table direct access: 12 assertions passed  1.92ms
  - TSQLTableJSON: 144,070 assertions passed  159.05ms
  - TSQLRestClientDB: 608,193 assertions passed  6.35s
  - TRecordVersion: 20,060 assertions passed  170.73ms
  Total failed: 0 / 792,586  - File based WAL PASSED  6.95s

 2.4. Memory based:
  - Database direct access: 20,246 assertions passed  224.94ms
  - Virtual table direct access: 12 assertions passed  1.98ms
  - TSQLTableJSON: 144,070 assertions passed  140.64ms
  - TSQLRestClientDB: 676,500 assertions passed  7.09s
  - TRecordVersion: 20,060 assertions passed  223.58ms
  - RTree: 140,000 assertions passed  1.80s
  - Shard write: 10,602 assertions passed  361.94ms
  - Shard read: 140,001 assertions passed  566.98ms
  - Shard read after purge: 114,003 assertions passed  469.88ms
  Total failed: 0 / 1,265,494  - Memory based PASSED  10.90s

 2.5. Basic classes:
  - TSQLRecord: 88 assertions passed  701us
  - TSQLRecordSigned: 200 assertions passed  5.76ms
  - TSQLModel: 16 assertions passed  292us
  - TSQLRestServerFullMemory: 982,483 assertions passed  1.07s
  Total failed: 0 / 982,787  - Basic classes PASSED  1.08s

 2.6. Client server access:
  - TSQLHttpServer: 2 assertions passed  85.45ms
     using HTTP API 2.0
  - TSQLHttpClient: 3 assertions passed  42.69ms
     using TSQLHttpClientWinHTTP
  - HTTP client keep alive: 3,087 assertions passed  610.94ms
     4818 B, first 5.15ms, done 570.45ms i.e. 1752/s, aver. 570us, 8.1 MB/s
  - HTTP client multi connect: 3,087 assertions passed  628.26ms
     4818 B, first 993us, done 595.03ms i.e. 1680/s, aver. 595us, 7.8 MB/s
  - HTTP client encrypted: 3,087 assertions passed  632.00ms
     4818 B, first 1.14ms, done 596.73ms i.e. 1675/s, aver. 596us, 7.8 MB/s
  - Named pipe access: 3,089 assertions passed  739.03ms
     4818 B, first 258.11ms, done 266.30ms i.e. 3755/s, aver. 266us, 17.5 MB/s
  - Local window messages: 3,088 assertions passed  61.37ms
     4818 B, first 158us, done 53.60ms i.e. 18654/s, aver. 53us, 87.2 MB/s
  - Direct in process access: 3,056 assertions passed  48.41ms
     4818 B, first 53us, done 36.94ms i.e. 27070/s, aver. 36us, 126.5 MB/s
  - HTTP several DB servers: 9,604 assertions passed  20.86s
     4818 B, first 875us, done 522.63ms i.e. 1913/s, aver. 522us, 8.9 MB/s
     4818 B, first 822us, done 557.00ms i.e. 1795/s, aver. 557us, 8.3 MB/s
     4818 B, first 850us, done 534.57ms i.e. 1870/s, aver. 534us, 8.7 MB/s
  Total failed: 0 / 28,103  - Client server access PASSED  23.73s

 2.7. Service oriented architecture:
  - Weak interfaces: 56 assertions passed  800us
  - Service initialization: 267 assertions passed  4.78ms
  - Direct call: 596,022 assertions passed  55.51ms
  - Server side: 596,042 assertions passed  55.13ms
  - Client side REST: 794,722 assertions passed  1.60s
  - Client side REST as JSON object: 794,716 assertions passed  1.66s
  - Client side REST sessions stats: 794,716 assertions passed  1.63s
  - Client side REST locked: 794,720 assertions passed  1.56s
  - Client side REST main thread: 794,720 assertions passed  3.61s
  - Client side REST background thread: 794,720 assertions passed  2.92s
  - Client side REST weak authentication: 794,716 assertions passed  1.56s
  - Client side REST basic authentication: 794,716 assertions passed  1.80s
  - Client side REST custom record layout: 794,716 assertions passed  1.65s
  - Client side REST service log to DB: 794,716 assertions passed  3.86s
  - Client side JSONRPC: 794,716 assertions passed  1.69s
! Service oriented architecture - Test over HTTP
! Exception EServiceException raised with messsage:
!  TServiceFactoryClient.Create(): ICalculator interface or TSQLRestRoutingREST
routing not supported by server: {
"errorCode":403,
"errorText":"Forbidden"
}
  - Security: 135 assertions passed  3.24ms
  - Mocks and stubs: 30,032 assertions passed  68.43ms
  Total failed: 1 / 9,964,449  - Service oriented architecture FAILED  42.69s

 2.8. Bidirectional remote connection:
  - Websockets JSON protocol: 60 assertions passed  695us
  - Websockets binary protocol: 240 assertions passed  733us
  - Run http server: 2 assertions passed  1.28ms
  - SOA callback on server side: 4,578 assertions passed  3.20ms
  - SOA callback via JSON websockets: 4,581 assertions passed  302.22ms
  - SOA callback via binary websockets: 4,581 assertions passed  316.20ms
  - TRecordVersion: 20,068 assertions passed  217.26ms
  Total failed: 0 / 34,110  - Bidirectional remote connection PASSED  848.91ms

 2.9. External database:
  - TQuery: 2,003 assertions passed  15.26ms
  - SynDBRemote: 30,095 assertions passed  619.99ms
  - DB properties persistence: 7 assertions passed  3.35ms
  - External records: 2 assertions passed  384us
  - Auto adapt SQL: 942 assertions passed  123.65ms
  - Crypted database: 253,275 assertions passed  295.18ms
  - External via REST: 170,354 assertions passed  1.51s
  - External via virtual table: 170,354 assertions passed  3.61s
  - External via REST with change tracking: 180,454 assertions passed  4.64s
  - JET database: 7,007 assertions passed  1.91s
  Total failed: 0 / 814,493  - External database PASSED  12.75s

 2.10. Multi thread process:
  - Create thread pool: 1 assertion passed  3.49ms
  - TSQLRestServerDB: 4,822 assertions passed  182.59ms
     1=12624/s  2=13881/s  5=14284/s  10=14152/s  30=15916/s  50=14227/s
  - TSQLRestClientDB: 4,822 assertions passed  224.53ms
     1=11339/s  2=12713/s  5=13300/s  10=11638/s  30=12727/s  50=7983/s
  - TSQLRestClientURINamedPipe: 2,412 assertions passed  1.25s
     1=1245/s  2=1473/s  5=885/s
  - TSQLRestClientURIMessage: 3,222 assertions passed  232.08ms
     1=5893/s  2=7765/s  5=8208/s  10=7698/s
!  - Windows API: 32 / 4,054 FAILED  19.89s
     1=21/s  2=2100/s  5=2253/s  10=2258/s  30=2308/s  50=1994/s
  - Socket API: 4,822 assertions passed  891.02ms
     1=2636/s  2=3274/s  5=3472/s  10=2997/s  30=2799/s  50=1947/s
  - Websockets: 4,822 assertions passed  614.26ms
     1=4129/s  2=4413/s  5=5349/s  10=4890/s  30=3593/s  50=2750/s
  - Locked: 4,822 assertions passed  286.20ms
     1=11418/s  2=12148/s  5=12932/s  10=10269/s  30=9645/s  50=4223/s
  - Unlocked: 4,822 assertions passed  202.28ms
     1=11242/s  2=13755/s  5=13780/s  10=13720/s  30=15090/s  50=9905/s
  - Main thread: 4,822 assertions passed  248.38ms
     1=9663/s  2=9800/s  5=9795/s  10=9572/s  30=10058/s  50=12737/s
  - Background thread: 4,822 assertions passed  210.59ms
     1=10998/s  2=12383/s  5=12965/s  10=12647/s  30=14258/s  50=10204/s
  Total failed: 32 / 48,265  - Multi thread process FAILED  24.26s

 2.11. DDD shared units:
  - User model: 3,276 assertions passed  1.30ms
  - Authentication model: 20,006 assertions passed  146.91ms
  - Email validation process: 55 assertions passed  30.18ms
  - User CQRS repository: 57,106 assertions passed  629.68ms
  Total failed: 0 / 80,443  - DDD shared units PASSED  812.55ms

 2.12. DDD multi thread:
  - Delete old database: 1 assertion passed  3.07ms
  - Start server: 1 assertion passed  84.84ms
! DDD multi thread - Single client test
! Exception EAccessViolation raised with messsage:
!  Access violation at address 00654987 in module 'TestSQL3.exe'. Read of addres
s 00000000
  - Multi threaded clients test: 21 assertions passed  605.28ms
  Total failed: 1 / 24  - DDD multi thread FAILED  19.60s


Using mORMot 1.18.2528 FTS3
Running on Windows 8.1 64bit (6.3.9600) with code page 1250
TSQLite3LibraryStatic 3.12.0 with internal MM
Generated with: Delphi 2007 compiler

Time elapsed for all tests: 172.39s
Tests performed at 2016-04-09 23:43:08

Total assertions failed for all test suits:  35 / 23,496,092
! Some tests FAILED: please correct the code.

Done - Press ENTER to Exit

Michal

Offline

#2 2016-04-09 23:24:47

miab3
Member
From: Poland
Registered: 2014-10-01
Posts: 188

Re: A few bugs in the D2007

...
It is the fault of Windows 8.1-64 (for Delphi XE2-32 in Windows 8.1-64 is similar).
In Delphi XE2 32/64 on Windows 7-64 is fine.

Michal

Last edited by miab3 (2016-04-09 23:26:07)

Offline

#3 2016-04-10 11:14:49

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

Re: A few bugs in the D2007

No problem with D2007 compiled regression tests on my PC running Windows 7, with code page 1252.
See http://pastebin.com/8yxPbUQ4

I guess there is something wrong about your Windows 8.1 use.
Did you register the http.sys ports, running at least once TestSQL3Register.exe, as documented?

Offline

#4 2016-04-10 11:52:29

miab3
Member
From: Poland
Registered: 2014-10-01
Posts: 188

Re: A few bugs in the D2007

@ab,

So, I registered http.sys just before launch TestSQL3.

Registration of /root:888/+ for http.sys

Registration of /root0:888/+ for http.sys

Registration of /root1:888/+ for http.sys

Registration of /root2:888/+ for http.sys

Registration of /LogService:888/+ for http.sys

Registration of /LogService:8091/+ for http.sys

Registration of /syndbremote:8092/+ for http.sys

Done - Press ENTER to Exit

And here the course of the test for Windows 8.1-32 and Delphi XE2-32

   Synopse mORMot Framework Automated tests
  ------------------------------------------


1. Synopse libraries

 1.1. Low level common:
  - System copy record: 83 assertions passed  350us
  - TRawUTF8List: 130,009 assertions passed  158.17ms
  - TDynArray: 1,082,726 assertions passed  317.00ms
  - TDynArrayHashed: 1,200,629 assertions passed  240.76ms
  - TObjectListHashed: 999,907 assertions passed  694.36ms
  - TObjectDynArrayWrapper: 167,501 assertions passed  37.03ms
  - TObjArray: 2,016 assertions passed  3.02ms
  - Fast string compare: 24 assertions passed  273us
  - IdemPropName: 197 assertions passed  377us
  - Url encoding: 150 assertions passed  1.62ms
  - GUID: 9,007 assertions passed  5.70ms
  - IsMatch: 599 assertions passed  462us
  - Soundex: 35 assertions passed  298us
  - Numerical conversions: 1,113,007 assertions passed  454.71ms
  - crc32c: 20,020 assertions passed  114.34ms
      pas 39.13ms 152.4 MB/s fast 4.52ms 1.2 GB/s
  - Curr 64: 20,053 assertions passed  2.67ms
  - CamelCase: 11 assertions passed  318us
  - Bits: 4,774 assertions passed  952us
  - Ini files: 7,004 assertions passed  33.62ms
!  - UTF8: 14,000 / 133,137 FAILED  2.31s
  - Iso 8601 date and time: 48,017 assertions passed  13.01ms
  - Time zones: 407 assertions passed  13.87ms
  - Url decoding: 1,100 assertions passed  4.74ms
  - Mime types: 30 assertions passed  575us
  - TSynTable: 875 assertions passed  6.81ms
  - TSynCache: 404 assertions passed  535us
  - TSynFilter: 1,005 assertions passed  4.59ms
  - TSynValidate: 677 assertions passed  2.09ms
  - TSynLogFile: 42 assertions passed  5.54ms
  - TSynUniqueIdentifier: 1,300,002 assertions passed  1.05s
  - TSynDictionary: 119,930 assertions passed  83.27ms
  Total failed: 14,000 / 6,363,378  - Low level common FAILED  5.59s

 1.2. Low level types:
  - RTTI: 410 assertions passed  924us
  - Url encoding: 200 assertions passed  1.28ms
  - Encode decode JSON: 305,634 assertions passed  306.43ms
  - Variants: 48 assertions passed  332us
  - Mustache renderer: 144 assertions passed  3.80ms
  - TDocVariant: 71,784 assertions passed  201.21ms
  - BSON: 245,050 assertions passed  10.70ms
  - TSynTableStatement: 206 assertions passed  1.93ms
  - TSynMonitorUsage: 1,202 assertions passed  666us
  Total failed: 0 / 624,678  - Low level types PASSED  545.49ms

 1.3. Big table:
  - TSynBigTable: 19,135 assertions passed  139.36ms
  - TSynBigTableString: 16,115 assertions passed  39.70ms
  - TSynBigTableMetaData: 475,563 assertions passed  2.44s
  - TSynBigTableRecord: 375,563 assertions passed  3.59s
  Total failed: 0 / 886,376  - Big table PASSED  6.22s

 1.4. Synopse PDF:
!  - TPdfDocument: 1 / 2 FAILED  9.07ms
  - TPdfDocumentGDI: 5 assertions passed  1.00s
  Total failed: 1 / 7  - Synopse PDF FAILED  1.01s

 1.5. Cryptographic routines:
  - Adler32: 1 assertion passed  784us
  - MD5: 86 assertions passed  754us
  - SHA1: 10 assertions passed  20.74ms
  - SHA256: 8 assertions passed  16.57ms
  - AES256: 16,816 assertions passed  1.01s
  - RC4: 1 assertion passed  219us
  - Base64: 11,994 assertions passed  242.65ms
  - CompressShaAes: 1,683 assertions passed  8.15ms
  - TAESPNRG: 9,999 assertions passed  95.28ms
  Total failed: 0 / 40,598  - Cryptographic routines PASSED  1.41s

 1.6. Compression:
  - In memory compression: 12 assertions passed  621.74ms
  - GZIP format: 19 assertions passed  1.20s
  - ZIP format: 79 assertions passed  5.21s
  - SynLZO: 3,006 assertions passed  174.48ms
  - SynLZ: 32,219 assertions passed  984.79ms
  Total failed: 0 / 35,335  - Compression PASSED  8.20s


2. mORMot

 2.1. File based:
  - Database direct access: 20,251 assertions passed  345.33ms
  - Virtual table direct access: 12 assertions passed  2.54ms
  - TSQLTableJSON: 149,076 assertions passed  330.02ms
  - TSQLRestClientDB: 608,193 assertions passed  6.74s
  - Regexp function: 6,016 assertions passed  70.40ms
  - TRecordVersion: 20,060 assertions passed  203.59ms
  Total failed: 0 / 803,608  - File based PASSED  7.69s

 2.2. File based memory map:
  - Database direct access: 20,246 assertions passed  243.17ms
  - Virtual table direct access: 12 assertions passed  1.69ms
  - TSQLTableJSON: 149,076 assertions passed  251.17ms
  - TSQLRestClientDB: 608,192 assertions passed  6.58s
  - Regexp function: 6,016 assertions passed  44.37ms
  - TRecordVersion: 20,060 assertions passed  219.30ms
  Total failed: 0 / 803,602  - File based memory map PASSED  7.34s

 2.3. File based WAL:
  - Database direct access: 20,251 assertions passed  272.73ms
  - Virtual table direct access: 12 assertions passed  1.51ms
  - TSQLTableJSON: 149,076 assertions passed  251.36ms
  - TSQLRestClientDB: 608,193 assertions passed  6.68s
  - Regexp function: 6,016 assertions passed  40.94ms
  - TRecordVersion: 20,060 assertions passed  218.15ms
  Total failed: 0 / 803,608  - File based WAL PASSED  7.46s

 2.4. Memory based:
  - Database direct access: 20,246 assertions passed  231.93ms
  - Virtual table direct access: 12 assertions passed  1.23ms
  - TSQLTableJSON: 149,076 assertions passed  240.41ms
  - TSQLRestClientDB: 676,500 assertions passed  7.79s
  - Regexp function: 6,016 assertions passed  43.58ms
  - TRecordVersion: 20,060 assertions passed  218.18ms
  - RTree: 140,000 assertions passed  1.92s
  - Shard write: 10,602 assertions passed  494.50ms
  - Shard read: 140,001 assertions passed  703.11ms
  - Shard read after purge: 114,003 assertions passed  562.20ms
  Total failed: 0 / 1,276,516  - Memory based PASSED  12.22s

 2.5. Basic classes:
  - TSQLRecord: 88 assertions passed  647us
  - TSQLRecordSigned: 200 assertions passed  5.64ms
  - TSQLModel: 16 assertions passed  186us
  - TSQLRestServerFullMemory: 1,222,461 assertions passed  1.95s
  Total failed: 0 / 1,222,765  - Basic classes PASSED  1.96s

 2.6. Client server access:
  - TSQLHttpServer: 2 assertions passed  5.03ms
     using HTTP API 2.0
  - TSQLHttpClient: 3 assertions passed  41.48ms
     using TSQLHttpClientWinHTTP
  - HTTP client keep alive: 3,087 assertions passed  615.72ms
     4818 B, first 5.21ms, done 583.57ms i.e. 1713/s, aver. 583us, 8 MB/s
  - HTTP client multi connect: 3,087 assertions passed  608.29ms
     4818 B, first 862us, done 583.19ms i.e. 1714/s, aver. 583us, 8 MB/s
  - HTTP client encrypted: 3,087 assertions passed  679.81ms
     4818 B, first 1.00ms, done 641.78ms i.e. 1558/s, aver. 641us, 7.2 MB/s
  - Named pipe access: 3,089 assertions passed  787.03ms
     4818 B, first 271.82ms, done 289.96ms i.e. 3448/s, aver. 289us, 16.1 MB/s
  - Local window messages: 3,088 assertions passed  80.07ms
     4818 B, first 153us, done 72.66ms i.e. 13761/s, aver. 72us, 64.3 MB/s
  - Direct in process access: 3,056 assertions passed  91.07ms
     4818 B, first 72us, done 53.66ms i.e. 18633/s, aver. 53us, 87.1 MB/s
  - HTTP several DB servers: 9,604 assertions passed  21.18s
     4818 B, first 927us, done 694.30ms i.e. 1440/s, aver. 694us, 6.7 MB/s
     4818 B, first 905us, done 576.40ms i.e. 1734/s, aver. 576us, 8.1 MB/s
     4818 B, first 877us, done 596.82ms i.e. 1675/s, aver. 596us, 7.8 MB/s
  Total failed: 0 / 28,103  - Client server access PASSED  24.10s

 2.7. Service oriented architecture:
  - Weak interfaces: 56 assertions passed  635us
  - Service initialization: 267 assertions passed  4.76ms
  - Direct call: 606,537 assertions passed  63.59ms
  - Server side: 606,557 assertions passed  62.16ms
  - Client side REST: 808,742 assertions passed  1.99s
  - Client side REST as JSON object: 808,736 assertions passed  2.10s
  - Client side REST sessions stats: 808,736 assertions passed  2.16s
  - Client side REST locked: 808,740 assertions passed  2.02s
  - Client side REST main thread: 808,740 assertions passed  5.11s
  - Client side REST background thread: 808,740 assertions passed  5.35s
  - Client side REST weak authentication: 808,736 assertions passed  1.94s
  - Client side REST basic authentication: 808,736 assertions passed  2.26s
  - Client side REST custom record layout: 808,736 assertions passed  2.09s
  - Client side REST service log to DB: 808,736 assertions passed  4.43s
  - Client side JSONRPC: 808,736 assertions passed  2.15s
! Service oriented architecture - Test over HTTP
! Exception EServiceException raised with messsage:
!  TServiceFactoryClient.Create(): ICalculator interface or TSQLRestRoutingREST
routing not supported by server: {
"errorCode":403,
"errorText":"Forbidden"
}
  - Security: 135 assertions passed  3.72ms
  - Mocks and stubs: 30,032 assertions passed  80.70ms
  Total failed: 1 / 10,139,699  - Service oriented architecture FAILED  50.82s

 2.8. Bidirectional remote connection:
  - Websockets JSON protocol: 60 assertions passed  930us
  - Websockets binary protocol: 240 assertions passed  370us
  - Run http server: 2 assertions passed  920us
  - SOA callback on server side: 4,578 assertions passed  9.27ms
  - SOA callback via JSON websockets: 4,581 assertions passed  420.36ms
  - SOA callback via binary websockets: 4,581 assertions passed  373.63ms
  - TRecordVersion: 20,068 assertions passed  296.04ms
  Total failed: 0 / 34,110  - Bidirectional remote connection PASSED  1.10s

 2.9. External database:
  - TQuery: 2,003 assertions passed  12.78ms
  - SynDBRemote: 30,095 assertions passed  555.21ms
  - DB properties persistence: 7 assertions passed  3.13ms
  - External records: 2 assertions passed  460us
  - Auto adapt SQL: 942 assertions passed  130.36ms
  - Crypted database: 253,275 assertions passed  341.80ms
  - External via REST: 170,354 assertions passed  1.82s
  - External via virtual table: 170,354 assertions passed  3.87s
  - External via REST with change tracking: 180,454 assertions passed  5.21s
  - JET database: 7,007 assertions passed  1.31s
  Total failed: 0 / 814,493  - External database PASSED  13.28s

 2.10. Multi thread process:
  - Create thread pool: 1 assertion passed  2.70ms
  - TSQLRestServerDB: 4,822 assertions passed  213.04ms
     1=11938/s  2=13617/s  5=13704/s  10=14059/s  30=7954/s  50=13980/s
  - TSQLRestClientDB: 4,822 assertions passed  1.43s
     1=11251/s  2=10278/s  5=5950/s  10=2920/s  30=918/s  50=570/s
  - TSQLRestClientURINamedPipe: 2,412 assertions passed  1.49s
     1=1157/s  2=1040/s  5=737/s
  - TSQLRestClientURIMessage: 3,222 assertions passed  248.07ms
     1=5966/s  2=7690/s  5=7826/s  10=6748/s
!  - Windows API: 31 / 4,053 FAILED  20.44s
     1=21/s  2=1983/s  5=2116/s  10=2049/s  30=926/s  50=856/s
  - Socket API: 4,822 assertions passed  1.35s
     1=2473/s  2=2790/s  5=2675/s  10=2537/s  30=1270/s  50=986/s
  - Websockets: 4,822 assertions passed  1.33s
     1=3410/s  2=5122/s  5=3674/s  10=1830/s  30=1506/s  50=754/s
  - Locked: 4,822 assertions passed  1.40s
     1=11592/s  2=10104/s  5=5919/s  10=2924/s  30=990/s  50=566/s
  - Unlocked: 4,822 assertions passed  231.33ms
     1=11515/s  2=13801/s  5=13262/s  10=10121/s  30=15026/s  50=7959/s
  - Main thread: 4,822 assertions passed  373.82ms
     1=9561/s  2=6434/s  5=5128/s  10=8554/s  30=6451/s  50=6479/s
  - Background thread: 4,822 assertions passed  279.39ms
     1=11184/s  2=13058/s  5=12684/s  10=12759/s  30=14167/s  50=3961/s
  Total failed: 31 / 48,264  - Multi thread process FAILED  28.84s

 2.11. DDD shared units:
  - User model: 3,276 assertions passed  1.23ms
  - Authentication model: 20,006 assertions passed  207.54ms
  - Email validation process: 55 assertions passed  108.12ms
  - User CQRS repository: 57,106 assertions passed  718.19ms
  Total failed: 0 / 80,443  - DDD shared units PASSED  1.03s

 2.12. DDD multi thread:
  - Delete old database: 1 assertion passed  1.38ms
  - Start server: 1 assertion passed  77.98ms
! DDD multi thread - Single client test
! Exception EAccessViolation raised with messsage:
!  Access violation at address 007C23D2 in module 'TestSQL3.exe'. Read of addres
s 00000000
  - Multi threaded clients test: 21 assertions passed  588.07ms
  Total failed: 1 / 24  - DDD multi thread FAILED  19.60s


Using mORMot 1.18.2528 FTS3
Running on Windows 8.1 64bit (6.3.9600) with code page 1250
TSQLite3LibraryStatic 3.12.0 with internal MM
Generated with: Delphi XE2 compiler

Time elapsed for all tests: 198.57s
Tests performed at 2016-04-10 13:50:03

Total assertions failed for all test suits:  14,034 / 24,005,607
! Some tests FAILED: please correct the code.

Done - Press ENTER to Exit

Michal

Offline

#5 2016-04-10 12:50:01

miab3
Member
From: Poland
Registered: 2014-10-01
Posts: 188

Re: A few bugs in the D2007

@ab,

So it happens only for (my) Windows 8.1-64.
In Windows 10 Build 14316(and Delphi 10-Win32) not have those bugs.

Michal

Offline

#6 2016-04-10 17:58:56

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

Re: A few bugs in the D2007

What does the fox says ^w^w log say?

Offline

Board footer

Powered by FluxBB