Skip to content

Commit

Permalink
test: revert exclusions needed for pmem#5988 pmem#5966
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Michalski <jan.michalski@intel.com>
  • Loading branch information
janekmi committed Feb 13, 2024
1 parent 6ac049b commit 0422998
Show file tree
Hide file tree
Showing 39 changed files with 19 additions and 157 deletions.
4 changes: 1 addition & 3 deletions src/test/ex_libpmemobj/TEST0
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@ EX_PATH=../../examples/libpmemobj
expect_normal_exit $EX_PATH/pi $DIR/testfile1 c 2 20 > $LOG_TEMP 2>&1
expect_normal_exit $EX_PATH/pi $DIR/testfile1 p >> $LOG_TEMP 2>&1

# Exclude error messages printed out on the stderr by PMDK in debug
fgrep -v "*ERROR*" $LOG_TEMP > $LOG
rm $LOG_TEMP
mv $LOG_TEMP $LOG

check

Expand Down
4 changes: 1 addition & 3 deletions src/test/ex_libpmemobj/TEST1
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@ expect_normal_exit $EX_PATH/btree $DIR/testfile1 i 2 World! >> $LOG_TEMP 2>&1
expect_normal_exit $EX_PATH/btree $DIR/testfile1 p >> $LOG_TEMP 2>&1
expect_normal_exit $EX_PATH/btree $DIR/testfile1 f 4321 >> $LOG_TEMP 2>&1

# Exclude error messages printed out on the stderr by PMDK in debug
fgrep -v "*ERROR*" $LOG_TEMP > $LOG
rm $LOG_TEMP
mv $LOG_TEMP $LOG

check

Expand Down
4 changes: 1 addition & 3 deletions src/test/ex_libpmemobj/TEST17
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,7 @@ expect_normal_exit $EX_PATH/lists $DIR/testfile1 2 bar print >> $LOG_TEMP 2>&1
expect_normal_exit $EX_PATH/lists $DIR/testfile1 3 foo print >> $LOG_TEMP 2>&1
expect_normal_exit $EX_PATH/lists $DIR/testfile1 1 bar print >> $LOG_TEMP 2>&1

# Exclude error messages printed out on the stderr by PMDK in debug
fgrep -v "*ERROR*" $LOG_TEMP > $LOG
rm $LOG_TEMP
mv $LOG_TEMP $LOG

check

Expand Down
4 changes: 1 addition & 3 deletions src/test/ex_libpmemobj/TEST7
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,7 @@ EOF

expect_normal_exit $EX_PATH/reader $DIR/testfile1 >> $LOG_TEMP 2>&1

# Exclude error messages printed out on the stderr by PMDK in debug
fgrep -v "*ERROR*" $LOG_TEMP > $LOG
rm $LOG_TEMP
mv $LOG_TEMP $LOG

check

Expand Down
4 changes: 1 addition & 3 deletions src/test/ex_libpmemobj/TEST8
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,7 @@ EOF

expect_normal_exit $EX_PATH/reader $DIR/testfile1 >> $LOG_TEMP 2>&1

# Exclude error messages printed out on the stderr by PMDK in debug
fgrep -v "*ERROR*" $LOG_TEMP > $LOG
rm $LOG_TEMP
mv $LOG_TEMP $LOG

check

Expand Down
4 changes: 1 addition & 3 deletions src/test/ex_libpmemobj/TEST9
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@ EOF

expect_normal_exit $EX_PATH/reader $DIR/testfile1 >> $LOG_TEMP 2>&1

# Exclude error messages printed out on the stderr by PMDK in debug
fgrep -v "*ERROR*" $LOG_TEMP > $LOG
rm $LOG_TEMP
mv $LOG_TEMP $LOG

check

Expand Down
4 changes: 1 addition & 3 deletions src/test/pmempool_sync/TEST10
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,7 @@ expect_abnormal_exit $PMEMPOOL$EXESUFFIX sync $POOLSET2 >> $LOG_TEMP 2>&1
# Check metadata using pmempool info
dump_pool_info $POOLSET1 >> $LOG_TEMP

# Exclude error and warn messages printed out on the stderr by PMDK in debug
fgrep -v "*ERROR*" $LOG_TEMP | fgrep -v "*WARN*" > $LOG
rm $LOG_TEMP
mv $LOG_TEMP $LOG

check

Expand Down
4 changes: 1 addition & 3 deletions src/test/pmempool_sync/TEST11
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,7 @@ expect_normal_exit $DDMAP$EXESUFFIX -o $DIR/part20 -n 10 -b 1
# Try to synchronize replicas using the third poolset
expect_abnormal_exit $PMEMPOOL$EXESUFFIX sync $POOLSET3 &>> $LOG_TEMP

# Exclude error and warn messages printed out on the stderr by PMDK in debug
fgrep -v "*ERROR*" $LOG_TEMP | fgrep -v "*WARN*" > $LOG
rm $LOG_TEMP
mv $LOG_TEMP $LOG

check

Expand Down
4 changes: 1 addition & 3 deletions src/test/pmempool_sync/TEST12
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,7 @@ expect_normal_exit $PMEMSPOIL $DIR/testfile1 pool_hdr.uuid=0000000000000000\
# Try to synchronize replicas
expect_abnormal_exit $PMEMPOOL$EXESUFFIX sync $POOLSET &>> $LOG_TEMP

# Exclude error messages printed out on the stderr by PMDK in debug
fgrep -v "*ERROR*" $LOG_TEMP > $LOG
rm $LOG_TEMP
mv $LOG_TEMP $LOG

check

Expand Down
4 changes: 1 addition & 3 deletions src/test/pmempool_sync/TEST23
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,7 @@ expect_normal_exit $PMEMPOOL$EXESUFFIX sync $POOLSET1 >> $LOG_TEMP
# Check metadata using pmempool info
dump_pool_info $POOLSET1 >> $LOG_TEMP

# Exclude error and warn messages printed out on the stderr by PMDK in debug
fgrep -v "*ERROR*" $LOG_TEMP | fgrep -v "*WARN*" > $LOG
rm $LOG_TEMP
mv $LOG_TEMP $LOG

check
pass
4 changes: 1 addition & 3 deletions src/test/pmempool_sync/TEST24
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,7 @@ expect_normal_exit $PMEMPOOL$EXESUFFIX sync $POOLSET1 >> $LOG_TEMP
# Check metadata using pmempool info
dump_pool_info $POOLSET1 >> $LOG_TEMP

# Exclude error and warn messages printed out on the stderr by PMDK in debug
fgrep -v "*ERROR*" $LOG_TEMP | fgrep -v "*WARN*" > $LOG
rm $LOG_TEMP
mv $LOG_TEMP $LOG

check

Expand Down
4 changes: 1 addition & 3 deletions src/test/pmempool_sync/TEST25
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,7 @@ expect_normal_exit $PMEMPOOL$EXESUFFIX sync $POOLSET1 >> $LOG_TEMP
# Check metadata using pmempool info
dump_pool_info $POOLSET1 >> $LOG_TEMP

# Exclude error messages printed out on the stderr by PMDK in debug
fgrep -v "*ERROR*" $LOG_TEMP > $LOG
rm $LOG_TEMP
mv $LOG_TEMP $LOG

check

Expand Down
4 changes: 1 addition & 3 deletions src/test/pmempool_sync/TEST26
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,7 @@ expect_abnormal_exit $PMEMPOOL$EXESUFFIX sync $POOLSET >> $LOG_TEMP 2>&1
# Remove poolset
expect_normal_exit $PMEMPOOL$EXESUFFIX rm $POOLSET

# Exclude error messages printed out on the stderr by PMDK in debug
fgrep -v "*ERROR*" $LOG_TEMP > $LOG
rm $LOG_TEMP
mv $LOG_TEMP $LOG

check

Expand Down
5 changes: 0 additions & 5 deletions src/test/pmempool_sync/TEST29
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,6 @@ expect_normal_exit "$PMEMPOOL$EXESUFFIX check -v $POOLSET >> $LOG"

expect_normal_exit "$OBJ_VERIFY$EXESUFFIX $POOLSET pmempool$SUFFIX v &>> $LOG"

# Exclude error and warn messages printed out on the stderr by PMDK in debug
LOG_TEMP=$LOG.log
fgrep -v "*ERROR*" $LOG | fgrep -v "*WARN*" > $LOG_TEMP
mv $LOG_TEMP $LOG

check

pass
5 changes: 0 additions & 5 deletions src/test/pmempool_sync/TEST32
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,6 @@ expect_abnormal_exit "$OBJ_VERIFY$EXESUFFIX $POOLSET pmempool$SUFFIX v &>> $LOG"
expect_normal_exit "$PMEMPOOL$EXESUFFIX sync -b -v $POOLSET >> $LOG"
expect_normal_exit "$OBJ_VERIFY$EXESUFFIX $POOLSET pmempool$SUFFIX v &>> $LOG"

# Exclude error and warn messages printed out on the stderr by PMDK in debug
LOG_TEMP=$LOG.log
fgrep -v "*ERROR*" $LOG | fgrep -v "*WARN*" > $LOG_TEMP
mv $LOG_TEMP $LOG

check

pass
5 changes: 0 additions & 5 deletions src/test/pmempool_sync/TEST33
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,6 @@ expect_abnormal_exit "$OBJ_VERIFY$EXESUFFIX $POOLSET pmempool$SUFFIX v &>> $LOG"
expect_normal_exit "$PMEMPOOL$EXESUFFIX sync -b -v $POOLSET >> $LOG"
expect_normal_exit "$OBJ_VERIFY$EXESUFFIX $POOLSET pmempool$SUFFIX v &>> $LOG"

# Exclude error and warn messages printed out on the stderr by PMDK in debug
LOG_TEMP=$LOG.log
fgrep -v "*ERROR*" $LOG | fgrep -v "*WARN*" > $LOG_TEMP
mv $LOG_TEMP $LOG

check

pass
5 changes: 0 additions & 5 deletions src/test/pmempool_sync/TEST34
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,6 @@ expect_normal_exit "$PMEMPOOL$EXESUFFIX sync -b -v $POOLSET >> $LOG"

expect_normal_exit "$OBJ_VERIFY$EXESUFFIX $POOLSET pmempool$SUFFIX v &>> $LOG"

# Exclude error and warn messages printed out on the stderr by PMDK in debug
LOG_TEMP=$LOG.log
fgrep -v "*ERROR*" $LOG | fgrep -v "*WARN*" > $LOG_TEMP
mv $LOG_TEMP $LOG

check

pass
5 changes: 0 additions & 5 deletions src/test/pmempool_sync/TEST35
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,6 @@ expect_normal_exit "$PMEMPOOL$EXESUFFIX sync -b -v $POOLSET >> $LOG"

expect_normal_exit "$OBJ_VERIFY$EXESUFFIX $POOLSET pmempool$SUFFIX v &>> $LOG"

# Exclude error and warn messages printed out on the stderr by PMDK in debug
LOG_TEMP=$LOG.log
fgrep -v "*ERROR*" $LOG | fgrep -v "*WARN*" > $LOG_TEMP
mv $LOG_TEMP $LOG

check

pass
5 changes: 0 additions & 5 deletions src/test/pmempool_sync/TEST36
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,6 @@ expect_normal_exit "$PMEMPOOL$EXESUFFIX sync -b -v $POOLSET >> $LOG"
# sync was uneable to fix bad blocks, because one recovery file was missing
expect_abnormal_exit "$OBJ_VERIFY$EXESUFFIX $POOLSET pmempool$SUFFIX v &>> $LOG"

# Exclude error and warn messages printed out on the stderr by PMDK in debug
LOG_TEMP=$LOG.log
fgrep -v "*ERROR*" $LOG | fgrep -v "*WARN*" > $LOG_TEMP
mv $LOG_TEMP $LOG

check

pass
5 changes: 0 additions & 5 deletions src/test/pmempool_sync/TEST37
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,6 @@ expect_normal_exit "$PMEMPOOL$EXESUFFIX sync -b -v $POOLSET >> $LOG"
# sync was uneable to fix bad blocks, because one recovery file was missing
expect_abnormal_exit "$OBJ_VERIFY$EXESUFFIX $POOLSET pmempool$SUFFIX v &>> $LOG"

# Exclude error and warn messages printed out on the stderr by PMDK in debug
LOG_TEMP=$LOG.log
fgrep -v "*ERROR*" $LOG | fgrep -v "*WARN*" > $LOG_TEMP
mv $LOG_TEMP $LOG

check

pass
5 changes: 0 additions & 5 deletions src/test/pmempool_sync/TEST42
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,6 @@ expect_normal_exit "$PMEMPOOL$EXESUFFIX check -v $POOLSET >> $LOG"
expect_normal_exit "$PMEMPOOL$EXESUFFIX info --bad-blocks=yes $POOLSET >> $LOG"
expect_normal_exit "$OBJ_VERIFY$EXESUFFIX $POOLSET pmempool$SUFFIX v &>> $LOG"

# Exclude error and warn messages printed out on the stderr by PMDK in debug
LOG_TEMP=$LOG.log
fgrep -v "*ERROR*" $LOG | fgrep -v "*WARN*" > $LOG_TEMP
mv $LOG_TEMP $LOG

check

pass
5 changes: 0 additions & 5 deletions src/test/pmempool_sync/TEST43
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,6 @@ expect_abnormal_exit "$PMEMPOOL$EXESUFFIX sync -v -b $POOLSET &>> $LOG"
# pool verification should fail
expect_abnormal_exit "$OBJ_VERIFY$EXESUFFIX $POOLSET pmempool$SUFFIX v &>> $LOG"

# Exclude error and warn messages printed out on the stderr by PMDK in debug
LOG_TEMP=$LOG.log
fgrep -v "*ERROR*" $LOG | fgrep -v "*WARN*" > $LOG_TEMP
mv $LOG_TEMP $LOG

check

pass
5 changes: 0 additions & 5 deletions src/test/pmempool_sync/TEST44
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,6 @@ expect_normal_exit "$PMEMPOOL$EXESUFFIX check -v $POOLSET >> $LOG"
expect_normal_exit "$PMEMPOOL$EXESUFFIX info --bad-blocks=yes $POOLSET >> $LOG"
expect_normal_exit "$OBJ_VERIFY$EXESUFFIX $POOLSET pmempool$SUFFIX v &>> $LOG"

# Exclude error and warn messages printed out on the stderr by PMDK in debug
LOG_TEMP=$LOG.log
fgrep -v "*ERROR*" $LOG | fgrep -v "*WARN*" > $LOG_TEMP
mv $LOG_TEMP $LOG

check

pass
5 changes: 0 additions & 5 deletions src/test/pmempool_sync/TEST45
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,6 @@ expect_normal_exit "$PMEMPOOL$EXESUFFIX check -v $POOLSET >> $LOG"
expect_normal_exit "$PMEMPOOL$EXESUFFIX info --bad-blocks=yes $POOLSET >> $LOG"
expect_normal_exit "$OBJ_VERIFY$EXESUFFIX $POOLSET pmempool$SUFFIX v &>> $LOG"

# Exclude error and warn messages printed out on the stderr by PMDK in debug
LOG_TEMP=$LOG.log
fgrep -v "*ERROR*" $LOG | fgrep -v "*WARN*" > $LOG_TEMP
mv $LOG_TEMP $LOG

check

pass
5 changes: 0 additions & 5 deletions src/test/pmempool_sync/TEST46
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,6 @@ expect_normal_exit "$PMEMPOOL$EXESUFFIX check -v $POOLSET >> $LOG"
expect_normal_exit "$PMEMPOOL$EXESUFFIX info --bad-blocks=yes $POOLSET >> $LOG"
expect_normal_exit "$OBJ_VERIFY$EXESUFFIX $POOLSET pmempool$SUFFIX v &>> $LOG"

# Exclude error and warn messages printed out on the stderr by PMDK in debug
LOG_TEMP=$LOG.log
fgrep -v "*ERROR*" $LOG | fgrep -v "*WARN*" > $LOG_TEMP
mv $LOG_TEMP $LOG

check

pass
5 changes: 0 additions & 5 deletions src/test/pmempool_sync/TEST47
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,6 @@ expect_normal_exit "$PMEMPOOL$EXESUFFIX check -v $POOLSET >> $LOG"
expect_normal_exit "$PMEMPOOL$EXESUFFIX info --bad-blocks=yes $POOLSET >> $LOG"
expect_normal_exit "$OBJ_VERIFY$EXESUFFIX $POOLSET pmempool$SUFFIX v &>> $LOG"

# Exclude error and warn messages printed out on the stderr by PMDK in debug
LOG_TEMP=$LOG.log
fgrep -v "*ERROR*" $LOG | fgrep -v "*WARN*" > $LOG_TEMP
mv $LOG_TEMP $LOG

check

pass
5 changes: 0 additions & 5 deletions src/test/pmempool_sync/TEST48
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,6 @@ expect_normal_exit "$PMEMPOOL$EXESUFFIX check -v $POOLSET >> $LOG"
expect_normal_exit "$PMEMPOOL$EXESUFFIX info --bad-blocks=yes $POOLSET >> $LOG"
expect_normal_exit "$OBJ_VERIFY$EXESUFFIX $POOLSET pmempool$SUFFIX v &>> $LOG"

# Exclude error and warn messages printed out on the stderr by PMDK in debug
LOG_TEMP=$LOG.log
fgrep -v "*ERROR*" $LOG | fgrep -v "*WARN*" > $LOG_TEMP
mv $LOG_TEMP $LOG

check

pass
5 changes: 0 additions & 5 deletions src/test/pmempool_sync/TEST49
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,6 @@ expect_normal_exit "$PMEMPOOL$EXESUFFIX check -v $POOLSET >> $LOG"
expect_normal_exit "$PMEMPOOL$EXESUFFIX info --bad-blocks=yes $POOLSET >> $LOG"
expect_normal_exit "$OBJ_VERIFY$EXESUFFIX $POOLSET pmempool$SUFFIX v &>> $LOG"

# Exclude error and warn messages printed out on the stderr by PMDK in debug
LOG_TEMP=$LOG.log
fgrep -v "*ERROR*" $LOG | fgrep -v "*WARN*" > $LOG_TEMP
mv $LOG_TEMP $LOG

check

pass
5 changes: 0 additions & 5 deletions src/test/pmempool_sync/TEST50
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,6 @@ expect_normal_exit "$PMEMPOOL$EXESUFFIX check -v $POOLSET >> $LOG"
expect_normal_exit "$PMEMPOOL$EXESUFFIX info --bad-blocks=yes $POOLSET >> $LOG"
expect_normal_exit "$OBJ_VERIFY$EXESUFFIX $POOLSET pmempool$SUFFIX v &>> $LOG"

# Exclude error and warn messages printed out on the stderr by PMDK in debug
LOG_TEMP=$LOG.log
fgrep -v "*ERROR*" $LOG | fgrep -v "*WARN*" > $LOG_TEMP
mv $LOG_TEMP $LOG

check

pass
5 changes: 0 additions & 5 deletions src/test/pmempool_sync/TEST51
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,6 @@ expect_normal_exit "$PMEMPOOL$EXESUFFIX check -v $POOLSET >> $LOG"
expect_normal_exit "$PMEMPOOL$EXESUFFIX info --bad-blocks=yes $POOLSET >> $LOG"
expect_normal_exit "$OBJ_VERIFY$EXESUFFIX $POOLSET pmempool$SUFFIX v &>> $LOG"

# Exclude error and warn messages printed out on the stderr by PMDK in debug
LOG_TEMP=$LOG.log
fgrep -v "*ERROR*" $LOG | fgrep -v "*WARN*" > $LOG_TEMP
mv $LOG_TEMP $LOG

check

pass
5 changes: 0 additions & 5 deletions src/test/pmempool_sync/TEST52
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,6 @@ expect_normal_exit "$PMEMPOOL$EXESUFFIX check -v $POOLSET >> $LOG"
expect_normal_exit "$PMEMPOOL$EXESUFFIX info --bad-blocks=yes $POOLSET >> $LOG"
expect_normal_exit "$OBJ_VERIFY$EXESUFFIX $POOLSET pmempool$SUFFIX v &>> $LOG"

# Exclude error and warn messages printed out on the stderr by PMDK in debug
LOG_TEMP=$LOG.log
fgrep -v "*ERROR*" $LOG | fgrep -v "*WARN*" > $LOG_TEMP
mv $LOG_TEMP $LOG

check

pass
5 changes: 0 additions & 5 deletions src/test/pmempool_sync/TEST53
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,6 @@ expect_normal_exit "$PMEMPOOL$EXESUFFIX check -v $POOLSET >> $LOG"
expect_normal_exit "$PMEMPOOL$EXESUFFIX info --bad-blocks=yes $POOLSET >> $LOG"
expect_normal_exit "$OBJ_VERIFY$EXESUFFIX $POOLSET pmempool$SUFFIX v &>> $LOG"

# Exclude error and warn messages printed out on the stderr by PMDK in debug
LOG_TEMP=$LOG.log
fgrep -v "*ERROR*" $LOG | fgrep -v "*WARN*" > $LOG_TEMP
mv $LOG_TEMP $LOG

check

pass
4 changes: 1 addition & 3 deletions src/test/pmempool_sync/TEST8
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,7 @@ rm -f $DIR/part11
# Synchronize replicas using the second poolset
expect_abnormal_exit $PMEMPOOL$EXESUFFIX sync $POOLSET2 >> $LOG_TEMP 2>&1

# Exclude error and warn messages printed out on the stderr by PMDK in debug
fgrep -v "*ERROR*" $LOG_TEMP | fgrep -v "*WARN*" > $LOG
rm $LOG_TEMP
mv $LOG_TEMP $LOG

check

Expand Down
4 changes: 1 addition & 3 deletions src/test/pmempool_sync/TEST9
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,7 @@ rm -f $DIR/part01
# Try to synchronize replicas using the second poolset
expect_abnormal_exit $PMEMPOOL$EXESUFFIX sync $POOLSET2 >> $LOG_TEMP 2>&1

# Exclude error and warn messages printed out on the stderr by PMDK in debug
fgrep -v "*ERROR*" $LOG_TEMP | fgrep -v "*WARN*" > $LOG
rm $LOG_TEMP
mv $LOG_TEMP $LOG

check

Expand Down
Loading

0 comments on commit 0422998

Please sign in to comment.