#1 2025-02-13 09:41:00

zhou
Member
Registered: 2025-02-13
Posts: 1

test

Software version tested: 2.3.9592 (2025-02-13 17:11:06)

Windows Server 2016 64bit 21H2 (10.0.20348.3091) [cp936 31.7GB 4F7C1901]
    48 x Intel(R) Xeon(R) CPU E5-2650 v4 @ 2.20GHz [30MB] (x64)
    on Dell Inc. PowerEdge R730 2.19.0
Using mORMot 2.3.9592 2025-02-13 17:11:06
    TSqlite3LibraryStatic 3.46.1 with internal MM
Generated with: Delphi 12.2 Athens 64 bit Win compiler

Time elapsed for all tests: 2m15
Performed 2025-02-13 17:21:04 by

Total assertions failed for all test suits:  6,276 / 128,381,986
! Some tests FAILED: please correct the code.

Done - Press ENTER to Exit

- UTF8: 1,631,116 assertions passed  2.16s
!  - Charsets: 12 / 186 FAILED  3.85ms
  - Url decoding: 1,512 assertions passed  722us
  - Mime types: 638 assertions passed  21.64ms
!  - Baudot code: 6,247 / 10,007 FAILED  57.07ms
  - Iso 8601 date and time: 200,849 assertions passed  13.46ms
  - Time zones: 466 assertions passed  219.93ms
  - Dmi smbios: 45 assertions passed  507us
  - SID: 812 assertions passed  638us
  - SDDL: 1,105 assertions passed  1.97ms
  - Quick select: 4,015 assertions passed  191.34ms
  - TSynCache: 408 assertions passed  280us
  - TSynFilter: 2,010 assertions passed  3.76ms
  - TSynValidate: 879 assertions passed  896us
  - TSynLogFile: 62 assertions passed  157us
  - TSynUniqueIdentifier: 1,300,004 assertions passed  522.77ms
     200000 ComputeNew in 9.38ms i.e. 20.3M/s, aver. 46ns
  - Windows specific api: 41 assertions passed  2.78ms
  Total failed: 6,259 / 54,837,080  - Core base FAILED  8.38s


windows 2022  windows 2016?

Last edited by zhou (2025-02-13 09:49:55)

Offline

#2 2025-02-13 10:31:42

lfyey121
Member
From: china
Registered: 2022-08-25
Posts: 82

Re: test

mormot2test compile error:

Compile Project, Mode: default, Target: D:\fpcupdeluxe_32T\ccr\mORMot2\test\fpc\bin\i386-win32\mormot2tests.exe: Exit code 1, Errors: 1, Warnings: 1
Verbose: Free Pascal Compiler version 3.3.1-17444-g490c431bf9 [2025/02/12] for i386
Verbose: Copyright (c) 1993-2025 by Florian Klaempfl and others
Verbose: Target OS: Win32 for i386
Verbose: Compiling mormot2tests.dpr
Verbose: Compiling .\test.soa.network.pas
Verbose: Compiling .\test.core.data.pas
Verbose: PPU Loading D:\fpcupdeluxe_32T\ccr\mORMot2\packages\lazarus\lib\i386-win32\mormot.net.dns.ppu
Verbose: PPU Source: mormot.net.dns.pas not found
Verbose: PPU Source: ..\mormot.defines.inc not available
Warning: Recompiling mormot.net.dns, checksum changed for D:\fpcupdeluxe_32T\ccr\mORMot2\packages\lazarus\lib\i386-win32\mormot.net.sock.ppu
Fatal: Can't find unit mormot.net.dns used by mormot.net.ldap
Verbose: Compilation aborted

Last edited by lfyey121 (2025-02-13 10:38:31)

Offline

#3 2026-05-17 18:25:14

adamxpeter
Member
Registered: 2025-05-11
Posts: 6

Re: test

Test failed:

CheckEqual oem len a=7 b=0
  'KINGDOM'
!  - Dmi smbios: 1 / 149 FAILED  530us

IDK where 'KINGDOM' came from, it is not in the source.

mORMot2 data:

Software version tested: 2.4.14944 (2026-05-17 19:42:40)

Windows 11 64bit 25H2 (10.0.26200.8457) [windows-1250 3.6GB 66581B01]
    12 x AMD Ryzen 5 8400F 6-Core Processor [16MB] (x86)
    on ASUS System Product Name System Version
Using mORMot 2.4.14944 17 May 2026
    TSqlite3LibraryStatic 3.51.2 with internal MM
Generated with: Delphi 13.1 Florence 32 bit Win compiler

Time elapsed for all tests: 1m48
Performed 17 May 2026, 19:50:12 by adamp on DESKTOP-BMCNO0S

Total assertions failed for all test suits:  1 / 176,726,221
! Some tests FAILED: please correct the code.

How can I fix my mormot?

Offline

#4 2026-05-17 19:14:25

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 15,479
Website

Re: test

The value comes from the system SMBios data of the "OEM" entry.

Is it running on a native system or VM?

Is there any non ASCII character in the SMBios data? (I see you are code page 1270).

Offline

#5 2026-05-17 20:04:42

adamxpeter
Member
Registered: 2025-05-11
Posts: 6

Re: test

It is changed on the new settings application, instead of to be filled by O.E.M. now says System Product Name.

Running

Get-WmiObject -Class Win32_ComputerSystem | Format-List -Property *

I don't see any non-ASCII characters in the output.

But I have found 'KINGDOM':

OEMStringArray              : {Default string, Default string, KINGDOM, Default string...}

It is a native system.

Placing a breakpoint in test.core.base.pas line 8144,

full.Oem[0] is 'KINGDOM'
os[sbiOem] is '' (empty string)

PS:

Running the test in the debugger, later it encounters a

asm
  int 3
end;

in mormot.core.os.windows.inc ? then gets an exception:

Project mormot2tests.exe raised exception class EYamlException with message 'YAML line 1: YAML anchors (&name) are not supported'.

Offline

#6 Yesterday 06:32:56

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 15,479
Website

Re: test

"int 3" is the raw asm instruction to pause the debugger from code, and allow to get some execution context.
The EYamlException is expected: it is triggered and silently checked.
For debugging, add EYamlException to the IDE ignore exception list.

I will look into OEMStringArray value. I guess the issue comes from "Default string" entries not being handled the same in an array.

Edit:
I found the culprit. It is clearly indicated in the code source of DecodeSmbios() in mormot.core.os.pas: only set the first occurrence if multiple.

Offline

#7 Yesterday 08:41:05

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 15,479
Website

Offline

#8 Yesterday 12:06:41

adamxpeter
Member
Registered: 2025-05-11
Posts: 6

Re: test

All test passed, thank you!

Offline

Board footer

Powered by FluxBB