pmem / issues

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

Test: pmempool_transform/TEST[11, 14, 15, 18] fail with valgrind #1091

Closed Greg091 closed 5 years ago

Greg091 commented 5 years ago

ISSUE:

Environment Information

Please provide a reproduction of the bug:

./RUNTESTS pmempool_transform -s TEST11 -d force-enable -t all
./RUNTESTS pmempool_transform -s TEST15 -d force-enable -t all
./RUNTESTS pmempool_transform -s TEST11 -e force-enable -t all
./RUNTESTS pmempool_transform -s TEST14 -e force-enable -t all
./RUNTESTS pmempool_transform -s TEST15 -e force-enable -t all
./RUNTESTS pmempool_transform -s TEST18 -e force-enable -t all

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

Actual behavior:

./RUNTESTS pmempool_transform -s TEST11 -d force-enable -t all
pmempool_transform/TEST11: SETUP (all/pmem/debug/drd)
--74101:0: aspacem <<< SHOW_SEGMENTS: out_of_memory (177 segments)
--74101:0: aspacem 25 segment names in 25 slots
--74101:0: aspacem freelist is empty
--74101:0: aspacem (0,4,9) /usr/local/lib/valgrind/drd-amd64-linux
--74101:0: aspacem (1,48,8) /home/jenkins/greg/pmdk/src/tools/pmempool/pmempool
--74101:0: aspacem (2,104,8) /usr/lib64/ld-2.29.so
--74101:0: aspacem (3,130,1) /tmp/vgdb-pipe-shared-mem-vgdb-74101-by-jenkins-on-localhost.localdomain
--74101:0: aspacem (4,207,8) /usr/local/lib/valgrind/vgpreload_core-amd64-linux.so
--74101:0: aspacem (5,265,8) /usr/local/lib/valgrind/vgpreload_drd-amd64-linux.so
--74101:0: aspacem (6,322,9) /home/jenkins/greg/pmdk/src/debug/libpmempool.so.1.0.0
--74101:0: aspacem (7,381,8) /home/jenkins/greg/pmdk/src/debug/libpmemblk.so.1.0.0
--74101:0: aspacem (8,439,8) /home/jenkins/greg/pmdk/src/debug/libpmemlog.so.1.0.0
--74101:0: aspacem (9,497,9) /home/jenkins/greg/pmdk/src/debug/libpmemobj.so.1.0.0
--74101:0: aspacem (10,555,8) /home/jenkins/greg/pmdk/src/debug/libpmem.so.1.0.0
--74101:0: aspacem (11,610,8) /usr/lib64/libndctl.so.6.14.0
--74101:0: aspacem (12,644,7) /usr/lib64/libdaxctl.so.1.2.1
--74101:0: aspacem (13,678,8) /usr/lib64/libdl-2.29.so
--74101:0: aspacem (14,707,8) /usr/lib64/libpthread-2.29.so
--74101:0: aspacem (15,741,9) /usr/lib64/libc-2.29.so
--74101:0: aspacem (16,769,9) /usr/lib64/libudev.so.1.6.13
--74101:0: aspacem (17,802,7) /usr/lib64/libuuid.so.1.3.0
--74101:0: aspacem (18,834,8) /usr/lib64/libkmod.so.2.3.3
--74101:0: aspacem (19,866,8) /usr/lib64/librt-2.29.so
--74101:0: aspacem (20,895,8) /usr/lib64/libgcc_s-9-20190503.so.1
--74101:0: aspacem (21,935,8) /usr/lib64/liblzma.so.5.2.4
--74101:0: aspacem (22,967,7) /usr/lib64/libz.so.1.2.11
--74101:0: aspacem (23,997,10) /dev/dax1.0
--74101:0: aspacem (24,1013,5) /dev/dax1.3
--74101:0: aspacem   0: RSVN 0000000000-00003fffff 4194304 ----- SmFixed
--74101:0: aspacem   1: file 0000400000-0000404fff   20480 r---- d=0xfd00 i=28113057 o=0       (1,48)
--74101:0: aspacem   2: file 0000405000-000045afff  352256 r-xT- d=0xfd00 i=28113057 o=20480   (1,48)
--74101:0: aspacem   3: file 000045b000-000047dfff  143360 r---- d=0xfd00 i=28113057 o=372736  (1,48)
--74101:0: aspacem   4: RSVN 000047e000-000047efff    4096 ----- SmFixed
--74101:0: aspacem   5: file 000047f000-0000480fff    8192 r---- d=0xfd00 i=28113057 o=516096  (1,48)
--74101:0: aspacem   6: file 0000481000-0000481fff    4096 rw--- d=0xfd00 i=28113057 o=524288  (1,48)
--74101:0: aspacem   7: anon 0000482000-0000488fff   28672 rw---
--74101:0: aspacem   8: RSVN 0000489000-0003ffffff     59m ----- SmFixed
--74101:0: aspacem   9: file 0004000000-0004000fff    4096 r---- d=0xfd00 i=25168806 o=0       (2,104)
--74101:0: aspacem  10: file 0004001000-0004020fff  131072 r-xT- d=0xfd00 i=25168806 o=4096    (2,104)
--74101:0: aspacem  11: file 0004021000-0004028fff   32768 r---- d=0xfd00 i=25168806 o=135168  (2,104)
--74101:0: aspacem  12:      0004029000-0004029fff    4096
--74101:0: aspacem  13: file 000402a000-000402afff    4096 r---- d=0xfd00 i=25168806 o=167936  (2,104)
--74101:0: aspacem  14: file 000402b000-000402bfff    4096 rw--- d=0xfd00 i=25168806 o=172032  (2,104)
--74101:0: aspacem  15: anon 000402c000-000402cfff    4096 rw---
--74101:0: aspacem  16: anon 000402d000-000402dfff    4096 rwx--
--74101:0: aspacem  17: RSVN 000402e000-000482cfff 8384512 ----- SmLower
--74101:0: aspacem  18: file 000482d000-000482dfff    4096 r---- d=0xfd00 i=17991823 o=0       (4,207)
--74101:0: aspacem  19: file 000482e000-000482efff    4096 r-xT- d=0xfd00 i=17991823 o=4096    (4,207)
--74101:0: aspacem  20: file 000482f000-000482ffff    4096 r---- d=0xfd00 i=17991823 o=8192    (4,207)
--74101:0: aspacem  21: file 0004830000-0004830fff    4096 r---- d=0xfd00 i=17991823 o=8192    (4,207)
--74101:0: aspacem  22: file 0004831000-0004831fff    4096 rw--- d=0xfd00 i=17991823 o=12288   (4,207)
--74101:0: aspacem  23: anon 0004832000-0004833fff    8192 rw---
--74101:0: aspacem  24: file 0004834000-000483afff   28672 r---- d=0xfd00 i=18008249 o=0       (5,265)
--74101:0: aspacem  25: file 000483b000-0004851fff   94208 r-xT- d=0xfd00 i=18008249 o=28672   (5,265)
--74101:0: aspacem  26: file 0004852000-0004856fff   20480 r---- d=0xfd00 i=18008249 o=122880  (5,265)
--74101:0: aspacem  27: file 0004857000-0004857fff    4096 r---- d=0xfd00 i=18008249 o=139264  (5,265)
--74101:0: aspacem  28: file 0004858000-0004858fff    4096 rw--- d=0xfd00 i=18008249 o=143360  (5,265)
--74101:0: aspacem  29: file 0004859000-000485efff   24576 r---- d=0xfd00 i=11224907 o=0       (6,322)
--74101:0: aspacem  30: file 000485f000-00048b1fff  339968 r-xT- d=0xfd00 i=11224907 o=24576   (6,322)
--74101:0: aspacem  31: file 00048b2000-00048d3fff  139264 r---- d=0xfd00 i=11224907 o=364544  (6,322)
--74101:0: aspacem  32: file 00048d4000-00048d4fff    4096 ----- d=0xfd00 i=11224907 o=503808  (6,322)
--74101:0: aspacem  33: file 00048d5000-00048d5fff    4096 r---- d=0xfd00 i=11224907 o=503808  (6,322)
--74101:0: aspacem  34: file 00048d6000-00048d6fff    4096 rw--- d=0xfd00 i=11224907 o=507904  (6,322)
--74101:0: aspacem  35: anon 00048d7000-00048dcfff   24576 rw---
--74101:0: aspacem  36: file 00048dd000-00048e1fff   20480 r---- d=0xfd00 i=11239161 o=0       (7,381)
--74101:0: aspacem  37: file 00048e2000-0004906fff  151552 r-xT- d=0xfd00 i=11239161 o=20480   (7,381)
--74101:0: aspacem  38: file 0004907000-0004914fff   57344 r---- d=0xfd00 i=11239161 o=172032  (7,381)
--74101:0: aspacem  39: file 0004915000-0004915fff    4096 r---- d=0xfd00 i=11239161 o=225280  (7,381)
--74101:0: aspacem  40: file 0004916000-0004916fff    4096 rw--- d=0xfd00 i=11239161 o=229376  (7,381)
--74101:0: aspacem  41: anon 0004917000-0004918fff    8192 rw---
--74101:0: aspacem  42: file 0004919000-000491dfff   20480 r---- d=0xfd00 i=11224899 o=0       (8,439)
--74101:0: aspacem  43: file 000491e000-000493efff  135168 r-xT- d=0xfd00 i=11224899 o=20480   (8,439)
--74101:0: aspacem  44: file 000493f000-000494bfff   53248 r---- d=0xfd00 i=11224899 o=155648  (8,439)
--74101:0: aspacem  45: file 000494c000-000494cfff    4096 r---- d=0xfd00 i=11224899 o=204800  (8,439)
--74101:0: aspacem  46: file 000494d000-000494dfff    4096 rw--- d=0xfd00 i=11224899 o=208896  (8,439)
--74101:0: aspacem  47: anon 000494e000-000494ffff    8192 rw---
--74101:0: aspacem  48: file 0004950000-0004956fff   28672 r---- d=0xfd00 i=11224903 o=0       (9,497)
--74101:0: aspacem  49: file 0004957000-00049a1fff  307200 r-xT- d=0xfd00 i=11224903 o=28672   (9,497)
--74101:0: aspacem  50: file 00049a2000-00049b9fff   98304 r---- d=0xfd00 i=11224903 o=335872  (9,497)
--74101:0: aspacem  51: file 00049ba000-00049bafff    4096 ----- d=0xfd00 i=11224903 o=434176  (9,497)
--74101:0: aspacem  52: file 00049bb000-00049bcfff    8192 r---- d=0xfd00 i=11224903 o=434176  (9,497)
--74101:0: aspacem  53: file 00049bd000-00049bdfff    4096 rw--- d=0xfd00 i=11224903 o=442368  (9,497)
--74101:0: aspacem  54: anon 00049be000-00049c2fff   20480 rw---
--74101:0: aspacem  55: file 00049c3000-00049c5fff   12288 r---- d=0xfd00 i=11239755 o=0       (10,555)
--74101:0: aspacem  56: file 00049c6000-0004a68fff  667648 r-xT- d=0xfd00 i=11239755 o=12288   (10,555)
--74101:0: aspacem  57: file 0004a69000-0004a71fff   36864 r---- d=0xfd00 i=11239755 o=679936  (10,555)
--74101:0: aspacem  58: file 0004a72000-0004a72fff    4096 r---- d=0xfd00 i=11239755 o=712704  (10,555)
--74101:0: aspacem  59: file 0004a73000-0004a73fff    4096 rw--- d=0xfd00 i=11239755 o=716800  (10,555)
--74101:0: aspacem  60: anon 0004a74000-0004a74fff    4096 rw---
--74101:0: aspacem  61: file 0004a75000-0004a7dfff   36864 r---- d=0xfd00 i=25170280 o=0       (11,610)
--74101:0: aspacem  62: file 0004a7e000-0004a8ffff   73728 r-xT- d=0xfd00 i=25170280 o=36864   (11,610)
--74101:0: aspacem  63: file 0004a90000-0004a97fff   32768 r---- d=0xfd00 i=25170280 o=110592  (11,610)
--74101:0: aspacem  64: file 0004a98000-0004a98fff    4096 r---- d=0xfd00 i=25170280 o=139264  (11,610)
--74101:0: aspacem  65: file 0004a99000-0004a99fff    4096 rw--- d=0xfd00 i=25170280 o=143360  (11,610)
--74101:0: aspacem  66: file 0004a9a000-0004a9bfff    8192 r---- d=0xfd00 i=25170278 o=0       (12,644)
--74101:0: aspacem  67: file 0004a9c000-0004a9dfff    8192 r-xT- d=0xfd00 i=25170278 o=8192    (12,644)
--74101:0: aspacem  68: file 0004a9e000-0004a9efff    4096 r---- d=0xfd00 i=25170278 o=16384   (12,644)
--74101:0: aspacem  69: file 0004a9f000-0004a9ffff    4096 r---- d=0xfd00 i=25170278 o=16384   (12,644)
--74101:0: aspacem  70: anon 0004aa0000-0004aa0fff    4096 rw---
--74101:0: aspacem  71: file 0004aa1000-0004aa1fff    4096 r---- d=0xfd00 i=25488751 o=0       (13,678)
--74101:0: aspacem  72: file 0004aa2000-0004aa3fff    8192 r-xT- d=0xfd00 i=25488751 o=4096    (13,678)
--74101:0: aspacem  73: file 0004aa4000-0004aa4fff    4096 r---- d=0xfd00 i=25488751 o=12288   (13,678)
--74101:0: aspacem  74: file 0004aa5000-0004aa5fff    4096 r---- d=0xfd00 i=25488751 o=12288   (13,678)
--74101:0: aspacem  75: file 0004aa6000-0004aa6fff    4096 rw--- d=0xfd00 i=25488751 o=16384   (13,678)
--74101:0: aspacem  76: file 0004aa7000-0004aacfff   24576 r---- d=0xfd00 i=25488945 o=0       (14,707)
--74101:0: aspacem  77: file 0004aad000-0004abbfff   61440 r-xT- d=0xfd00 i=25488945 o=24576   (14,707)
--74101:0: aspacem  78: file 0004abc000-0004ac1fff   24576 r---- d=0xfd00 i=25488945 o=86016   (14,707)
--74101:0: aspacem  79: file 0004ac2000-0004ac2fff    4096 r---- d=0xfd00 i=25488945 o=106496  (14,707)
--74101:0: aspacem  80: file 0004ac3000-0004ac3fff    4096 rw--- d=0xfd00 i=25488945 o=110592  (14,707)
--74101:0: aspacem  81: anon 0004ac4000-0004ac7fff   16384 rw---
--74101:0: aspacem  82: file 0004ac8000-0004ae9fff  139264 r---- d=0xfd00 i=25168814 o=0       (15,741)
--74101:0: aspacem  83: file 0004aea000-0004c36fff 1363968 r-xT- d=0xfd00 i=25168814 o=139264  (15,741)
--74101:0: aspacem  84: file 0004c37000-0004c82fff  311296 r---- d=0xfd00 i=25168814 o=1503232 (15,741)
--74101:0: aspacem  85: file 0004c83000-0004c83fff    4096 ----- d=0xfd00 i=25168814 o=1814528 (15,741)
--74101:0: aspacem  86: file 0004c84000-0004c87fff   16384 r---- d=0xfd00 i=25168814 o=1814528 (15,741)
--74101:0: aspacem  87: file 0004c88000-0004c89fff    8192 rw--- d=0xfd00 i=25168814 o=1830912 (15,741)
--74101:0: aspacem  88: anon 0004c8a000-0004c8ffff   24576 rw---
--74101:0: aspacem  89: file 0004c90000-0004c94fff   20480 r---- d=0xfd00 i=25183443 o=0       (16,769)
--74101:0: aspacem  90: file 0004c95000-0004caefff  106496 r-xT- d=0xfd00 i=25183443 o=20480   (16,769)
--74101:0: aspacem  91: file 0004caf000-0004cb8fff   40960 r---- d=0xfd00 i=25183443 o=126976  (16,769)
--74101:0: aspacem  92: file 0004cb9000-0004cb9fff    4096 ----- d=0xfd00 i=25183443 o=167936  (16,769)
--74101:0: aspacem  93: file 0004cba000-0004cbafff    4096 r---- d=0xfd00 i=25183443 o=167936  (16,769)
--74101:0: aspacem  94: file 0004cbb000-0004cbbfff    4096 rw--- d=0xfd00 i=25183443 o=172032  (16,769)
--74101:0: aspacem  95: file 0004cbc000-0004cbdfff    8192 r---- d=0xfd00 i=25169119 o=0       (17,802)
--74101:0: aspacem  96: file 0004cbe000-0004cc2fff   20480 r-xT- d=0xfd00 i=25169119 o=8192    (17,802)
--74101:0: aspacem  97: file 0004cc3000-0004cc3fff    4096 r---- d=0xfd00 i=25169119 o=28672   (17,802)
--74101:0: aspacem  98: file 0004cc4000-0004cc4fff    4096 r---- d=0xfd00 i=25169119 o=28672   (17,802)
--74101:0: aspacem  99: anon 0004cc5000-0004cc5fff    4096 rw---
--74101:0: aspacem 100: file 0004cc6000-0004cc8fff   12288 r---- d=0xfd00 i=25169145 o=0       (18,834)
--74101:0: aspacem 101: file 0004cc9000-0004cd7fff   61440 r-xT- d=0xfd00 i=25169145 o=12288   (18,834)
--74101:0: aspacem 102: file 0004cd8000-0004cdcfff   20480 r---- d=0xfd00 i=25169145 o=73728   (18,834)
--74101:0: aspacem 103: file 0004cdd000-0004cddfff    4096 r---- d=0xfd00 i=25169145 o=90112   (18,834)
--74101:0: aspacem 104: file 0004cde000-0004cdefff    4096 rw--- d=0xfd00 i=25169145 o=94208   (18,834)
--74101:0: aspacem 105: file 0004cdf000-0004ce0fff    8192 r---- d=0xfd00 i=25488951 o=0       (19,866)
--74101:0: aspacem 106: file 0004ce1000-0004ce4fff   16384 r-xT- d=0xfd00 i=25488951 o=8192    (19,866)
--74101:0: aspacem 107: file 0004ce5000-0004ce6fff    8192 r---- d=0xfd00 i=25488951 o=24576   (19,866)
--74101:0: aspacem 108: file 0004ce7000-0004ce7fff    4096 r---- d=0xfd00 i=25488951 o=28672   (19,866)
--74101:0: aspacem 109: file 0004ce8000-0004ce8fff    4096 rw--- d=0xfd00 i=25488951 o=32768   (19,866)
--74101:0: aspacem 110: file 0004ce9000-0004cebfff   12288 r---- d=0xfd00 i=25168754 o=0       (20,895)
--74101:0: aspacem 111: file 0004cec000-0004cfcfff   69632 r-xT- d=0xfd00 i=25168754 o=12288   (20,895)
--74101:0: aspacem 112: file 0004cfd000-0004d00fff   16384 r---- d=0xfd00 i=25168754 o=81920   (20,895)
--74101:0: aspacem 113: file 0004d01000-0004d01fff    4096 r---- d=0xfd00 i=25168754 o=94208   (20,895)
--74101:0: aspacem 114: file 0004d02000-0004d02fff    4096 rw--- d=0xfd00 i=25168754 o=98304   (20,895)
--74101:0: aspacem 115: file 0004d03000-0004d05fff   12288 r---- d=0xfd00 i=25169099 o=0       (21,935)
--74101:0: aspacem 116: file 0004d06000-0004d1dfff   98304 r-xT- d=0xfd00 i=25169099 o=12288   (21,935)
--74101:0: aspacem 117: file 0004d1e000-0004d28fff   45056 r---- d=0xfd00 i=25169099 o=110592  (21,935)
--74101:0: aspacem 118: file 0004d29000-0004d29fff    4096 ----- d=0xfd00 i=25169099 o=155648  (21,935)
--74101:0: aspacem 119: file 0004d2a000-0004d2afff    4096 r---- d=0xfd00 i=25169099 o=155648  (21,935)
--74101:0: aspacem 120: anon 0004d2b000-0004d2dfff   12288 rw---
--74101:0: aspacem 121: file 0004d2e000-0004d30fff   12288 r---- d=0xfd00 i=25169023 o=0       (22,967)
--74101:0: aspacem 122: file 0004d31000-0004d3efff   57344 r-xT- d=0xfd00 i=25169023 o=12288   (22,967)
--74101:0: aspacem 123: file 0004d3f000-0004d45fff   28672 r---- d=0xfd00 i=25169023 o=69632   (22,967)
--74101:0: aspacem 124: file 0004d46000-0004d46fff    4096 r---- d=0xfd00 i=25169023 o=94208   (22,967)
--74101:0: aspacem 125: anon 0004d47000-0004d4cfff   24576 rw---
--74101:0: aspacem 126: anon 0004d4d000-000514cfff 4194304 rwx-H
--74101:0: aspacem 127: file 000514d000-000514dfff    4096 rw--- d=0x006 i=16516   o=0       (23,997)
--74101:0: aspacem 128: file 000514e000-000514efff    4096 rw--- d=0x006 i=16519   o=0       (24,1013)
--74101:0: aspacem 129: file 000514f000-000514ffff    4096 rw--- d=0x006 i=16516   o=0       (23,997)
--74101:0: aspacem 130: ANON 0005150000-0057d4ffff   1324m rwx--
--74101:0: aspacem 131:      0057d50000-0057ffffff 2818048
--74101:0: aspacem 132: FILE 0058000000-0058000fff    4096 r---- d=0xfd00 i=18008248 o=0       (0,4)
--74101:0: aspacem 133: FILE 0058001000-005809bfff  634880 r-x-- d=0xfd00 i=18008248 o=4096    (0,4)
--74101:0: aspacem 134: file 005809c000-005809cfff    4096 r-x-- d=0xfd00 i=18008248 o=638976  (0,4)
--74101:0: aspacem 135: FILE 005809d000-00581befff 1187840 r-x-- d=0xfd00 i=18008248 o=643072  (0,4)
--74101:0: aspacem 136: FILE 00581bf000-0058267fff  692224 r---- d=0xfd00 i=18008248 o=1830912 (0,4)
--74101:0: aspacem 137:      0058268000-0058268fff    4096
--74101:0: aspacem 138: FILE 0058269000-005826bfff   12288 rw--- d=0xfd00 i=18008248 o=2523136 (0,4)
--74101:0: aspacem 139: ANON 005826c000-0058c5efff      9m rw---
--74101:0: aspacem 140: ANON 0058c5f000-007fc5efff    624m rwx--
--74101:0: aspacem 141:      007fc5f000-007fffffff 3805184
--74101:0: aspacem 142: file 0080000000-02f5dfffff  10078m rw--- d=0x006 i=16516   o=0       (23,997)
--74101:0: aspacem 143: file 02f5e00000-0f43bfefff  50397m rw--- d=0x006 i=16519   o=4096    (24,1013)
--74101:0: aspacem 144: ANON 0f43bff000-1001ffefff   3044m rwx--
--74101:0: aspacem 145:      1001fff000-1001ffffff    4096
--74101:0: aspacem 146: RSVN 1002000000-1002000fff    4096 ----- SmFixed
--74101:0: aspacem 147: ANON 1002001000-100268bfff 6860800 rwx--
--74101:0: aspacem 148: ANON 100268c000-100268dfff    8192 -----
--74101:0: aspacem 149: ANON 100268e000-100278dfff 1048576 rwx--
--74101:0: aspacem 150: ANON 100278e000-100278ffff    8192 -----
--74101:0: aspacem 151: FILE 1002790000-1002790fff    4096 rw--- d=0x02b i=14406966 o=0       (3,130)
--74101:0: aspacem 152: ANON 1002791000-10027e0fff  327680 rwx--
--74101:0: aspacem 153:      10027e1000-10027f6fff   90112
--74101:0: aspacem 154: ANON 10027f7000-1002816fff  131072 rwx--
--74101:0: aspacem 155:      1002817000-100288bfff  479232
--74101:0: aspacem 156: ANON 100288c000-1002bd8fff 3461120 rwx--
--74101:0: aspacem 157:      1002bd9000-1002c80fff  688128
--74101:0: aspacem 158: ANON 1002c81000-10033d5fff 7688192 rwx--
--74101:0: aspacem 159:      10033d6000-1003469fff  606208
--74101:0: aspacem 160: ANON 100346a000-103fd13fff    968m rwx--
--74101:0: aspacem 161:      103fd14000-103fffffff 3063808
--74101:0: aspacem 162: file 1040000000-12b5dfffff  10078m rw--- d=0x006 i=16516   o=0       (23,997)
--74101:0: aspacem 163: file 12b5e00000-1f03bfffff  50398m rw--- d=0x006 i=16519   o=0       (24,1013)
--74101:0: aspacem 164: ANON 1f03c00000-1ffe7fffff   4012m rwx--
--74101:0: aspacem 165:      1ffe800000-1ffe800fff    4096
--74101:0: aspacem 166: RSVN 1ffe801000-1ffeff8fff 8355840 ----- SmUpper
--74101:0: aspacem 167: anon 1ffeff9000-1fff000fff   32768 rw---
--74101:0: aspacem 168: ANON 1fff001000-1fffc00fff     12m rwx--
--74101:0: aspacem 169:      1fffc01000-1fffffffff 4190208
--74101:0: aspacem 170: RSVN 2000000000-7ffe930eefff 130938g ----- SmFixed
--74101:0: aspacem 171: ANON 7ffe930ef000-7ffe93110fff  139264 rw---
--74101:0: aspacem 172: RSVN 7ffe93111000-7ffe9312dfff  118784 ----- SmFixed
--74101:0: aspacem 173: ANON 7ffe9312e000-7ffe93130fff   12288 r----
--74101:0: aspacem 174: RSVN 7ffe93131000-ffffffffff5fffff  16383e ----- SmFixed
--74101:0: aspacem 175: ANON ffffffffff600000-ffffffffff600fff    4096 r-x--
--74101:0: aspacem 176: RSVN ffffffffff601000-ffffffffffffffff      9m ----- SmFixed
--74101:0: aspacem >>>
pmempool_transform/TEST11 failed with exit code 1.
Last 30 lines of drd11.log below (whole file has 95 lines).
pmempool_transform/TEST11 drd11.log ==74101==    by 0x48932E5: pmempool_transformU (replica.c:2462)
pmempool_transform/TEST11 drd11.log ==74101==    by 0x48933A5: pmempool_transform (replica.c:2492)
pmempool_transform/TEST11 drd11.log ==74101==    by 0x40F164: pmempool_transform_func (in /home/jenkins/greg/pmdk/src/tools/pmempool/pmempool)
pmempool_transform/TEST11 drd11.log ==74101==    by 0x406AD3: main (in /home/jenkins/greg/pmdk/src/tools/pmempool/pmempool)
pmempool_transform/TEST11 drd11.log client stack range: [0x1FFEFF9000 0x1FFF000FFF] client SP: 0x1FFEFFD4B0
pmempool_transform/TEST11 drd11.log valgrind stack range: [0x100268E000 0x100278DFFF] top usage: 12072 of 1048576
pmempool_transform/TEST11 drd11.log 
pmempool_transform/TEST11 drd11.log ==74101== 
pmempool_transform/TEST11 drd11.log ==74101==     Valgrind's memory management: out of memory:
pmempool_transform/TEST11 drd11.log ==74101==        newSuperblock's request for 4194304 bytes failed.
pmempool_transform/TEST11 drd11.log ==74101==        10,504,224,768 bytes have already been mmap-ed ANONYMOUS.
pmempool_transform/TEST11 drd11.log ==74101==     Valgrind cannot continue.  Sorry.
pmempool_transform/TEST11 drd11.log ==74101== 
pmempool_transform/TEST11 drd11.log ==74101==     There are several possible reasons for this.
pmempool_transform/TEST11 drd11.log ==74101==     - You have some kind of memory limit in place.  Look at the
pmempool_transform/TEST11 drd11.log ==74101==       output of 'ulimit -a'.  Is there a limit on the size of
pmempool_transform/TEST11 drd11.log ==74101==       virtual memory or address space?
pmempool_transform/TEST11 drd11.log ==74101==     - You have run out of swap space.
pmempool_transform/TEST11 drd11.log ==74101==     - Valgrind has a bug.  If you think this is the case or you are
pmempool_transform/TEST11 drd11.log ==74101==     not sure, please let us know and we'll try to fix it.
pmempool_transform/TEST11 drd11.log ==74101==     Please note that programs can take substantially more memory than
pmempool_transform/TEST11 drd11.log ==74101==     normal when running under Valgrind tools, eg. up to twice or
pmempool_transform/TEST11 drd11.log ==74101==     more, depending on the tool.  On a 64-bit machine, Valgrind
pmempool_transform/TEST11 drd11.log ==74101==     should be able to make use of up 32GB memory.  On a 32-bit
pmempool_transform/TEST11 drd11.log ==74101==     machine, Valgrind should be able to use all the memory available
pmempool_transform/TEST11 drd11.log ==74101==     to a single process, up to 4GB if that's how you have your
pmempool_transform/TEST11 drd11.log ==74101==     kernel configured.  Most 32-bit Linux setups allow a maximum of
pmempool_transform/TEST11 drd11.log ==74101==     3GB per process.
pmempool_transform/TEST11 drd11.log ==74101== 
pmempool_transform/TEST11 drd11.log ==74101==     Whatever the reason, Valgrind cannot continue.  Sorry.

out11.log below.

pmem11.log below.
pmempool_transform/TEST11 pmem11.log <libpmem>: <1> [out.c:235 out_init] pid 74101: program: /home/jenkins/greg/pmdk/src/tools/pmempool/pmempool
pmempool_transform/TEST11 pmem11.log <libpmem>: <1> [out.c:238 out_init] libpmem version 1.1
pmempool_transform/TEST11 pmem11.log <libpmem>: <1> [out.c:242 out_init] src version: 1.6+git99.gb19d5cc6b
pmempool_transform/TEST11 pmem11.log <libpmem>: <1> [out.c:250 out_init] compiled with support for Valgrind pmemcheck
pmempool_transform/TEST11 pmem11.log <libpmem>: <1> [out.c:255 out_init] compiled with support for Valgrind helgrind
pmempool_transform/TEST11 pmem11.log <libpmem>: <1> [out.c:260 out_init] compiled with support for Valgrind memcheck
pmempool_transform/TEST11 pmem11.log <libpmem>: <1> [out.c:265 out_init] compiled with support for Valgrind drd
pmempool_transform/TEST11 pmem11.log <libpmem>: <1> [out.c:270 out_init] compiled with support for shutdown state
pmempool_transform/TEST11 pmem11.log <libpmem>: <1> [out.c:275 out_init] compiled with libndctl 63+
pmempool_transform/TEST11 pmem11.log <libpmem>: <3> [mmap.c:67 util_mmap_init] 
pmempool_transform/TEST11 pmem11.log <libpmem>: <3> [libpmem.c:56 libpmem_init] 
pmempool_transform/TEST11 pmem11.log <libpmem>: <3> [pmem.c:784 pmem_init] 
pmempool_transform/TEST11 pmem11.log <libpmem>: <3> [init.c:419 pmem_init_funcs] 
pmempool_transform/TEST11 pmem11.log <libpmem>: <3> [init.c:368 pmem_cpuinfo_to_funcs] 
pmempool_transform/TEST11 pmem11.log <libpmem>: <3> [init.c:372 pmem_cpuinfo_to_funcs] clflush supported
pmempool_transform/TEST11 pmem11.log <libpmem>: <3> [init.c:281 use_avx_memcpy_memset] avx supported
pmempool_transform/TEST11 pmem11.log <libpmem>: <3> [init.c:285 use_avx_memcpy_memset] PMEM_AVX not set or not == 1
pmempool_transform/TEST11 pmem11.log <libpmem>: <3> [pmem.c:216 pmem_has_auto_flush] 
pmempool_transform/TEST11 pmem11.log <libpmem>: <3> [os_auto_flush_linux.c:114 check_domain_in_region] region_path: /sys/bus/nd/devices/region0
pmempool_transform/TEST11 pmem11.log <libpmem>: <3> [os_auto_flush_linux.c:59 check_cpu_cache] domain_path: /sys/bus/nd/devices/region0/persistence_domain
pmempool_transform/TEST11 pmem11.log <libpmem>: <3> [init.c:472 pmem_init_funcs] Flushing CPU cache
pmempool_transform/TEST11 pmem11.log <libpmem>: <3> [init.c:487 pmem_init_funcs] using clflush
pmempool_transform/TEST11 pmem11.log <libpmem>: <3> [init.c:501 pmem_init_funcs] using movnt SSE2
pmempool_transform/TEST11 pmem11.log <libpmem>: <3> [pmem_posix.c:107 pmem_os_init] 

pmemblk11.log below.
pmempool_transform/TEST11 pmemblk11.log <libpmemblk>: <1> [out.c:235 out_init] pid 74101: program: /home/jenkins/greg/pmdk/src/tools/pmempool/pmempool
pmempool_transform/TEST11 pmemblk11.log <libpmemblk>: <1> [out.c:238 out_init] libpmemblk version 1.1
pmempool_transform/TEST11 pmemblk11.log <libpmemblk>: <1> [out.c:242 out_init] src version: 1.6+git99.gb19d5cc6b
pmempool_transform/TEST11 pmemblk11.log <libpmemblk>: <1> [out.c:250 out_init] compiled with support for Valgrind pmemcheck
pmempool_transform/TEST11 pmemblk11.log <libpmemblk>: <1> [out.c:255 out_init] compiled with support for Valgrind helgrind
pmempool_transform/TEST11 pmemblk11.log <libpmemblk>: <1> [out.c:260 out_init] compiled with support for Valgrind memcheck
pmempool_transform/TEST11 pmemblk11.log <libpmemblk>: <1> [out.c:265 out_init] compiled with support for Valgrind drd
pmempool_transform/TEST11 pmemblk11.log <libpmemblk>: <1> [out.c:270 out_init] compiled with support for shutdown state
pmempool_transform/TEST11 pmemblk11.log <libpmemblk>: <1> [out.c:275 out_init] compiled with libndctl 63+
pmempool_transform/TEST11 pmemblk11.log <libpmemblk>: <3> [mmap.c:67 util_mmap_init] 
pmempool_transform/TEST11 pmemblk11.log <libpmemblk>: <3> [libpmemblk.c:118 libpmemblk_init] 

pmemlog11.log below.
pmempool_transform/TEST11 pmemlog11.log <libpmemlog>: <1> [out.c:235 out_init] pid 74101: program: /home/jenkins/greg/pmdk/src/tools/pmempool/pmempool
pmempool_transform/TEST11 pmemlog11.log <libpmemlog>: <1> [out.c:238 out_init] libpmemlog version 1.1
pmempool_transform/TEST11 pmemlog11.log <libpmemlog>: <1> [out.c:242 out_init] src version: 1.6+git99.gb19d5cc6b
pmempool_transform/TEST11 pmemlog11.log <libpmemlog>: <1> [out.c:250 out_init] compiled with support for Valgrind pmemcheck
pmempool_transform/TEST11 pmemlog11.log <libpmemlog>: <1> [out.c:255 out_init] compiled with support for Valgrind helgrind
pmempool_transform/TEST11 pmemlog11.log <libpmemlog>: <1> [out.c:260 out_init] compiled with support for Valgrind memcheck
pmempool_transform/TEST11 pmemlog11.log <libpmemlog>: <1> [out.c:265 out_init] compiled with support for Valgrind drd
pmempool_transform/TEST11 pmemlog11.log <libpmemlog>: <1> [out.c:270 out_init] compiled with support for shutdown state
pmempool_transform/TEST11 pmemlog11.log <libpmemlog>: <1> [out.c:275 out_init] compiled with libndctl 63+
pmempool_transform/TEST11 pmemlog11.log <libpmemlog>: <3> [mmap.c:67 util_mmap_init] 
pmempool_transform/TEST11 pmemlog11.log <libpmemlog>: <3> [libpmemlog.c:118 libpmemlog_init] 

pmemobj11.log below.
pmempool_transform/TEST11 pmemobj11.log <libpmemobj>: <1> [out.c:235 out_init] pid 74101: program: /home/jenkins/greg/pmdk/src/tools/pmempool/pmempool
pmempool_transform/TEST11 pmemobj11.log <libpmemobj>: <1> [out.c:238 out_init] libpmemobj version 2.4
pmempool_transform/TEST11 pmemobj11.log <libpmemobj>: <1> [out.c:242 out_init] src version: 1.6+git99.gb19d5cc6b
pmempool_transform/TEST11 pmemobj11.log <libpmemobj>: <1> [out.c:250 out_init] compiled with support for Valgrind pmemcheck
pmempool_transform/TEST11 pmemobj11.log <libpmemobj>: <1> [out.c:255 out_init] compiled with support for Valgrind helgrind
pmempool_transform/TEST11 pmemobj11.log <libpmemobj>: <1> [out.c:260 out_init] compiled with support for Valgrind memcheck
pmempool_transform/TEST11 pmemobj11.log <libpmemobj>: <1> [out.c:265 out_init] compiled with support for Valgrind drd
pmempool_transform/TEST11 pmemobj11.log <libpmemobj>: <1> [out.c:270 out_init] compiled with support for shutdown state
pmempool_transform/TEST11 pmemobj11.log <libpmemobj>: <1> [out.c:275 out_init] compiled with libndctl 63+
pmempool_transform/TEST11 pmemobj11.log <libpmemobj>: <3> [mmap.c:67 util_mmap_init] 
pmempool_transform/TEST11 pmemobj11.log <libpmemobj>: <3> [libpmemobj.c:52 libpmemobj_init] 
pmempool_transform/TEST11 pmemobj11.log <libpmemobj>: <3> [obj.c:283 obj_init] 
pmempool_transform/TEST11 pmemobj11.log <libpmemobj>: <3> [obj.c:183 obj_ctl_init_and_load] pop (nil)
pmempool_transform/TEST11 pmemobj11.log <libpmemobj>: <3> [ctl.c:424 ctl_load_config_from_string] ctl (nil) ctx (nil) cfg_string "fallocate.at_create=0;"
pmempool_transform/TEST11 pmemobj11.log <libpmemobj>: <3> [ctl.c:300 ctl_query] ctl (nil) ctx (nil) source 2 name fallocate.at_create type 1 arg 0x4d4f524
pmempool_transform/TEST11 pmemobj11.log <libpmemobj>: <3> [ctl.c:79 ctl_find_node] nodes 0x49bd900 name fallocate.at_create indexes 0x1ffefff588
pmempool_transform/TEST11 pmemobj11.log <libpmemobj>: <3> [set.c:124 util_remote_init] 

Last 30 lines of pmempool11.log below (whole file has 357 lines).
pmempool_transform/TEST11 pmempool11.log <libpmempool>: <3> [file.c:67 device_dax_size] path "/dev/dax1.0"
pmempool_transform/TEST11 pmempool11.log <libpmempool>: <3> [set.c:1781 util_part_open] part 0x4d55708 minsize 0 create 0
pmempool_transform/TEST11 pmempool11.log <libpmempool>: <3> [file.c:131 util_file_exists] path "/dev/dax1.3"
pmempool_transform/TEST11 pmempool11.log <libpmempool>: <3> [file.c:558 util_file_open] path "/dev/dax1.3" size 0x1ffefff408 minsize 0 flags 2
pmempool_transform/TEST11 pmempool11.log <libpmempool>: <3> [file.c:258 util_file_get_size] path "/dev/dax1.3"
pmempool_transform/TEST11 pmempool11.log <libpmempool>: <3> [file.c:223 util_file_get_type] path "/dev/dax1.3"
pmempool_transform/TEST11 pmempool11.log <libpmempool>: <3> [file.c:131 util_file_exists] path "/dev/dax1.3"
pmempool_transform/TEST11 pmempool11.log <libpmempool>: <3> [file.c:67 device_dax_size] path "/dev/dax1.3"
pmempool_transform/TEST11 pmempool11.log <libpmempool>: <3> [set.c:3547 util_replica_open] set 0x4d554a0 repidx 0 flags 1
pmempool_transform/TEST11 pmempool11.log <libpmempool>: <3> [set.c:3367 util_replica_open_local] set 0x4d554a0 repidx 0 flags 1
pmempool_transform/TEST11 pmempool11.log <libpmempool>: <3> [mmap_posix.c:153 util_map_hint] len 63413678080 req_align 0
pmempool_transform/TEST11 pmempool11.log <libpmempool>: <3> [set.c:439 util_map_part] part 0x4d55688 addr 0x80000000 size 63413678080 offset 0 flags 1
pmempool_transform/TEST11 pmempool11.log <libpmempool>: <3> [set.c:364 util_map_hdr] part 0x4d55688 flags 1
pmempool_transform/TEST11 pmempool11.log <libpmempool>: <3> [mmap_posix.c:153 util_map_hint] len 4096 req_align 4096
pmempool_transform/TEST11 pmempool11.log <libpmempool>: <3> [set.c:364 util_map_hdr] part 0x4d55708 flags 1
pmempool_transform/TEST11 pmempool11.log <libpmempool>: <3> [mmap_posix.c:153 util_map_hint] len 4096 req_align 4096
pmempool_transform/TEST11 pmempool11.log <libpmempool>: <3> [set.c:439 util_map_part] part 0x4d55708 addr 0x2f5e00000 size 0 offset 4096 flags 17
pmempool_transform/TEST11 pmempool11.log <libpmempool>: <3> [set.c:1130 util_replica_check_map_sync] set 0x4d554a0 repidx 0
pmempool_transform/TEST11 pmempool11.log <libpmempool>: <3> [set.c:3488 util_replica_open_local] replica addr 0x80000000
pmempool_transform/TEST11 pmempool11.log <libpmempool>: <3> [set.c:3547 util_replica_open] set 0x4d557b0 repidx 0 flags 1
pmempool_transform/TEST11 pmempool11.log <libpmempool>: <3> [set.c:3367 util_replica_open_local] set 0x4d557b0 repidx 0 flags 1
pmempool_transform/TEST11 pmempool11.log <libpmempool>: <3> [mmap_posix.c:153 util_map_hint] len 63413682176 req_align 0
pmempool_transform/TEST11 pmempool11.log <libpmempool>: <3> [set.c:439 util_map_part] part 0x4d55968 addr 0x1040000000 size 63413682176 offset 0 flags 1
pmempool_transform/TEST11 pmempool11.log <libpmempool>: <3> [set.c:364 util_map_hdr] part 0x4d55968 flags 1
pmempool_transform/TEST11 pmempool11.log <libpmempool>: <3> [mmap_posix.c:153 util_map_hint] len 4096 req_align 4096
pmempool_transform/TEST11 pmempool11.log <libpmempool>: <3> [set.c:439 util_map_part] part 0x4d559e8 addr 0x12b5e00000 size 0 offset 0 flags 17
pmempool_transform/TEST11 pmempool11.log <libpmempool>: <3> [set.c:1130 util_replica_check_map_sync] set 0x4d557b0 repidx 0
pmempool_transform/TEST11 pmempool11.log <libpmempool>: <3> [set.c:3488 util_replica_open_local] replica addr 0x1040000000
pmempool_transform/TEST11 pmempool11.log <libpmempool>: <3> [transform.c:584 copy_replica_data_fw] set_in 0x4d554a0, set_out 0x4d557b0, repn 0
pmempool_transform/TEST11 pmempool11.log <libpmempool>: <3> [replica.c:2117 replica_get_pool_size] set 0x4d554a0, repn 0

rpmem11.log below.
pmempool_transform/TEST11 rpmem11.log <librpmem>: <1> [out.c:235 out_init] pid 74069: program: /home/jenkins/greg/pmdk/src/tools/pmempool/pmempool.static-debug
pmempool_transform/TEST11 rpmem11.log <librpmem>: <1> [out.c:238 out_init] librpmem version 1.2
pmempool_transform/TEST11 rpmem11.log <librpmem>: <1> [out.c:242 out_init] src version: 1.6+git99.gb19d5cc6b
pmempool_transform/TEST11 rpmem11.log <librpmem>: <1> [out.c:250 out_init] compiled with support for Valgrind pmemcheck
pmempool_transform/TEST11 rpmem11.log <librpmem>: <1> [out.c:255 out_init] compiled with support for Valgrind helgrind
pmempool_transform/TEST11 rpmem11.log <librpmem>: <1> [out.c:260 out_init] compiled with support for Valgrind memcheck
pmempool_transform/TEST11 rpmem11.log <librpmem>: <1> [out.c:265 out_init] compiled with support for Valgrind drd
pmempool_transform/TEST11 rpmem11.log <librpmem>: <1> [out.c:270 out_init] compiled with support for shutdown state
pmempool_transform/TEST11 rpmem11.log <librpmem>: <1> [out.c:275 out_init] compiled with libndctl 63+
pmempool_transform/TEST11 rpmem11.log <librpmem>: <3> [librpmem.c:61 librpmem_init] 
pmempool_transform/TEST11 rpmem11.log <librpmem>: <3> [librpmem.c:76 librpmem_fini] 

RUNTESTS: stopping: pmempool_transform/TEST11 failed, TEST=all FS=any BUILD=debug

Expected behavior:

Tests should pass.

Details

Logs.zip

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)

marcinslusarz commented 5 years ago

Are you sure you copied the correct logs? It seems only TEST11drd and TEST15drd contain log files with errors.

Greg091 commented 5 years ago

Verified on: 1.6-114-g7a39dd66e