Spaces are driving me nuts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Ever since last Sunday some of my tests in Jenkins are driving me nuts.
In some odd way some of the program output contains more space at certain places. Which then fails in cram/tox/unit tests.

But I cannot seem to be able to tackle the origin of this problem.
First is suspected a new version of prettytable, but it also occurs in unittest_texttable.

Anybody suggestions where to start looking?
Perhaps you have an idea which I have not thought off?

Thanx,
--WjW

example:
4/5 Test  #53: unittest_texttable ...............***Failed    0.12 sec
Running main() from gmock_main.cc
[==========] Running 4 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 4 tests from TextTable
[ RUN      ] TextTable.Alignment
/home/jenkins/workspace/ceph-master/src/test/test_texttable.cc:32: Failure
Expected equality of these values:
  "HEAD1 HEAD2 HEAD3 \n1       2       3 \n"
  oss.str().c_str()
    Which is: "HEAD1  HEAD2  HEAD3  \n1        2        3  \n"
With diff:
@@ -1,2 +1,2 @@
-HEAD1 HEAD2 HEAD3
-1       2       3 \n
+HEAD1  HEAD2  HEAD3
+1        2        3  \n

[  FAILED  ] TextTable.Alignment (1 ms)
[ RUN      ] TextTable.WidenAndClearShrink
/home/jenkins/workspace/ceph-master/src/test/test_texttable.cc:46: Failure
Expected equality of these values:
  "1     \nwider \n"
  oss.str().c_str()
    Which is: "1      \nwider  \n"
With diff:
@@ -1,2 +1,2 @@
-1
-wider \n
+1
+wider  \n

[  FAILED  ] TextTable.WidenAndClearShrink (0 ms)
[ RUN      ] TextTable.Indent
/home/jenkins/workspace/ceph-master/src/test/test_texttable.cc:64: Failure
Expected equality of these values:
  "          1 \n          s \n"
  oss.str().c_str()
    Which is: "          1  \n          s  \n"
With diff:
@@ -1,2 +1,2 @@
-          1
-          s \n
+          1
+          s  \n

[  FAILED  ] TextTable.Indent (0 ms)
[ RUN      ] TextTable.TooManyItems
warning: unable to setrlimit(): (1) Operation not permitted
[       OK ] TextTable.TooManyItems (36 ms)
[----------] 4 tests from TextTable (37 ms total)

[----------] Global test environment tear-down
[==========] 4 tests from 1 test suite ran. (37 ms total)
[  PASSED  ] 1 test.
[  FAILED  ] 3 tests, listed below:
[  FAILED  ] TextTable.Alignment
[  FAILED  ] TextTable.WidenAndClearShrink
[  FAILED  ] TextTable.Indent

 3 FAILED TESTS
_______________________________________________
Dev mailing list -- dev@xxxxxxx
To unsubscribe send an email to dev-leave@xxxxxxx



[Index of Archives]     [CEPH Users]     [Ceph Devel]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux