pmem / issues

Old issues repo for PMDK.
http://pmem.io
13 stars 7 forks source link

TEST: pmempool_info/TEST5: SETUP (check\pmem\debug) fails #1032

Closed Greg091 closed 5 years ago

Greg091 commented 5 years ago

ISSUE:

Environment Information

Please provide a reproduction of the bug:

.\RUNTESTS.PS1 -i pmempool_info -s TEST5 -t check -f pmem
pmempool_info/TEST5: SETUP (check\pmem\debug)
[MATCHING FAILED, COMPLETE FILE (out5.log) BELOW]
    + CategoryInfo          : NotSpecified: ([MATCHING FAILE...ut5.log) BELOW]:String) [], RemoteException
    + FullyQualifiedErrorId : NativeCommandError
    + PSComputerName        : localhost

Part file:
path                     : F:\mnt\LoremipsumdolorsitametconsecteturadipiscingelitVivamuslacinianibhattortordictumsollic
itudinNullamvariusvestibulumligulaetegestaselitsemperidMaurisultriciesligulaeuipsumtinciduntluctusMorbimaximusvariusdol
orid\LoremipsumdolorsitametconsecteturadipiscingelitVivamuslacinianibhattortordictumsollicitudinNullamvariusvestibuluml
igulaetegestaselitsemperidMaurisultriciesligulaeuipsumtinciduntluctusMorbimaximusvariusdolorid\Loremipsumdolorsitametco
nsecteturadipiscingelitVivamuslacinianibhattortordictumsollicitudinNullamvariusvestibulumligulaetegestaselitsemperidMau
risultriciesligulaeuipsumtinciduntluctusMorbimaximusvariusdolorid\LoremipsumdolorsitametconsecteturadipiscingelitVivamu
slacinianibhattortordictumsollicitudinNullamvariusvestibulumligulaetegestaselitsemperidMaurisultriciesligulaeuipsumtinc
iduntluctusMorbimaximusvariusdolorid\LoremipsumdolorsitametconsecteturadipiscingelitVivamuslacinianibhattortordictumsol
licitudinNullamvariusvestibulumligulaetegestaselitsemperidMaurisultriciesligulaeuipsumtinciduntluctusMorbimaximusvarius
dolorid\test_pmempool_info5😘⠏⠍⠙⠅ɗPMDKӜ⥺🙋\file.pool
type                     : regular file
size                     : 2097152
POOL Header:
00000000  50 4d 45 4d 4c 4f 47 00  01 00 00 00 00 00 00 00  |PMEMLOG.........|
00000010  06 00 00 00 00 00 00 00  ed 48 c0 c7 46 ae 77 47  |.........H..F.wG|
00000020  be 1d 5f 31 c4 d8 e1 4f  1b 32 77 e9 49 03 a0 41  |.._1...O.2w.I..A|
00000030  a7 bc bd 26 d3 2c b7 24  1b 32 77 e9 49 03 a0 41  |...&.,.$.2w.I..A|
*
00000070  a7 bc bd 26 d3 2c b7 24  17 78 e5 5b 00 00 00 00  |...&.,.$.x.[....|
00000080  10 33 77 33 77 07 00 00  02 01 00 00 00 00 3e 00  |.3w3w.........>.|
00000090  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000fb0  00 00 00 00 00 00 00 00  01 00 00 00 00 00 00 00  |................|
00000fc0  fe ff f4 15 1e ff 2a 48  00 00 00 00 00 00 00 00  |......*H........|
*
------------------------------------------------------------------------------
Signature                : PMEMLOG
Major                    : 1
Mandatory features       : 0x6 [CKSUM_2K, SHUTDOWN_STATE]
Not mandatory features   : 0x0
Forced RO                : 0x0
Pool set UUID            : c7c048ed-ae46-4777-be1d-5f31c4d8e14f
UUID                     : e977321b-0349-41a0-a7bc-bd26d32cb724
Previous part UUID       : e977321b-0349-41a0-a7bc-bd26d32cb724
Previous replica UUID    : e977321b-0349-41a0-a7bc-bd26d32cb724
Next replica UUID        : e977321b-0349-41a0-a7bc-bd26d32cb724
Creation Time            : Fri Nov 09 2018 12:05:43
Alignment Descriptor     : 0x0000077733773310[OK]
Class                    : 64
Data                     : 2's complement, little endian
Machine                  : AMD X86-64
Last shutdown            : clean
Checksum                 : 0x9a9b6ba5be5cd84e [OK]
PMEM LOG Header:
00001000  00 20 00 00 00 00 00 00  00 00 20 00 00 00 00 00  |. ........ .....|
00001010  00 20 00 00 00 00 00 00  00 00 60 32 10 02 00 00  |. ........`2....|
00001020  00 00 20 00 00 00 00 00  01 00 00 00 00 00 00 00  |.. .............|
00001030  f0 f6 81 30 10 02 00 00  00 00 00 00 00 00 00 00  |...0............|
00001040  00 00 00 00 00 00 00 00  70 72 80 30 10 02 00 00  |........pr.0....|
------------------------------------------------------------------------------
Start offset             : 0x2000
Write offset             : 0x2000 [OK]
End offset               : 0x200000
Part file:
path                     : F:\mnt\LoremipsumdolorsitametconsecteturadipiscingelitVivamuslacinianibhattortordictumsollic
itudinNullamvariusvestibulumligulaetegestaselitsemperidMaurisultriciesligulaeuipsumtinciduntluctusMorbimaximusvariusdol
orid\LoremipsumdolorsitametconsecteturadipiscingelitVivamuslacinianibhattortordictumsollicitudinNullamvariusvestibuluml
igulaetegestaseli
pmempool_info/TEST5: FAILED
    + CategoryInfo          : OperationStopped: (pmempool_info/TEST5: FAILED:String) [], RuntimeException
    + FullyQualifiedErrorId : pmempool_info/TEST5: FAILED
    + PSComputerName        : localhost

C:\greg\1.6\pmdk\src\test\RUNTESTS.PS1 : RUNTESTS FAILED: one of the tests failed
At line:1 char:1
+ .\RUNTESTS.PS1 -i pmempool_info -s TEST5 -t check -f pmem
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,RUNTESTS.PS1

How often bug is revealed: (always, often, rare): always

Actual behavior:

Expected behavior:

Test should passes.

Details

Test fails only on real pmem.

Additional information about Priority and Help Requested:

Are you willing to submit a pull request with a proposed change? (Yes, No)

Requested priority: (Showstopper, High, Medium, Low)

Greg091 commented 5 years ago

Below I attached logs: out5.log pmem5.log pmemblk5.log pmemlog5.log pmemobj5.log pmempool5.log

Greg091 commented 5 years ago

Ref: pmem/pmdk#3629

Greg091 commented 5 years ago

Verified on: 1.6-rc1-23-g1235363c1