#4287 closed enhancement (fixed)
CMake-2.8.12.1
Reported by: | Igor Živković | Owned by: | Fernando de Oliveira |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | BOOK | Version: | SVN |
Severity: | normal | Keywords: | |
Cc: |
Change History (16)
comment:1 by , 11 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
follow-up: 5 comment:2 by , 11 years ago
comment:3 by , 11 years ago
I mixed things:
"Optional for Running the Test Suite
stunnel-4.56 (for the HTTPS and FTPS tests)"
These are for curl, so 1. is wrong (in comment:2).
Then, have to add 2. and 3.
comment:4 by , 11 years ago
Still not right:
- Add comments in cmake about the failures related to curl needing to be intsalled with libssh2 support.
- Wait for comments about adding libssh2 being added to curl optinal required for tests.
Hope I got it right, now.
Going on with cmake, but doing nothing for now in curl. Will update cmake not only before two hours.
But true for all comments: I need some helpful comments here, please.
comment:5 by , 11 years ago
Replying to fo:
I am investigating: three tests fail:
Total Test time (real) = 952.57 sec The following tests FAILED: 201 - CTestTestFailedSubmit-ftp (Failed) http://public.kitware.com/Bug/print_bug_page.php?bug_id=13304 202 - CTestTestFailedSubmit-http (Failed) 203 - CTestTestFailedSubmit-https (Failed) Errors while running CTest make: *** [test] Error 8In the log, found:
$ grep SSL Downloads/blfs/cmake-2.8.12.1-make-k-test-2013.11.09-09h03m58s.log 201/312 Test #201: CTestTestFailedSubmit-ftp ........................***Failed Required regular expression not found.Regex=[(Problems when submitting via S*CP|Error message was: ([Cc]ould *n.t resolve host|[Cc]ould *n.t connect to host|Empty reply from server|The requested URL returned error|libcurl was built with SSL disabled. https: not supported)|Submission method .xmlrpc. not compiled into CTest|Submission problem|Submission successful) 202/312 Test #202: CTestTestFailedSubmit-http .......................***Failed Required regular expression not found.Regex=[(Problems when submitting via S*CP|Error message was: ([Cc]ould *n.t resolve host|[Cc]ould *n.t connect to host|Empty reply from server|The requested URL returned error|libcurl was built with SSL disabled. https: not supported)|Submission method .xmlrpc. not compiled into CTest|Submission problem|Submission successful) 203/312 Test #203: CTestTestFailedSubmit-https ......................***Failed Required regular expression not found.Regex=[(Problems when submitting via S*CP|Error message was: ([Cc]ould *n.t resolve host|[Cc]ould *n.t connect to host|Empty reply from server|The requested URL returned error|libcurl was built with SSL disabled. https: not supported)|Submission method .xmlrpc. not compiled into CTest|Submission problem|Submission successful)[...]> Searched in curl-7.33.0 about the "libcurl was built with SSL disabled. https: not supported":
About test failures:
Not sure libssh2 is required for curl https, but ftp and http should work even with ssl support disabled. So it seems that the test failures are not directly related to the lack of libssh2 support. Reading the bug report you reference, the CMake maintainers have not time to look at it, so it is probable that the tests are buggy...
About curl page:
ssl support in curl is included if libssl is found on the host. I suspect that ssh (whether openssh or libssh2) is not needed for that. So I propose that you do not change the curl page.
comment:6 by , 11 years ago
Thanks, Pierre. I need your help.
Yes, I just checked, and libssh2 is already in curls's page, no need for modification. Failed to find it when read it earlier today.
But installed libssh2:
$ xzgrep -i libssh2 Downloads/blfs/curl-7.33.0-simulation-2013.11.09-12h46m04s.log.xz checking for libssh2_channel_open_ex in -lssh2... yes checking libssh2.h usability... yes checking libssh2.h presence... yes checking for libssh2.h... yes SSH support: enabled (libSSH2)
And now, I am performing again the cmake tests (started before reading your comment).
And yes, agree with "CMake maintainers have not time to look at it, so it is probable that the tests are buggy..."
Anyway, probably some comments on the tests wil be necessary in this page.
follow-up: 9 comment:7 by , 11 years ago
Sorry, Pierre, just seen your name. Thanks. Have edited the previous comment: s/Bruce/Pierre/.
comment:8 by , 11 years ago
Oops, again,
I cannot understand how I passed from ssl to ssh.
I swear I have not drunk!
comment:9 by , 11 years ago
Replying to fo:
Sorry, Pierre, just seen your name. Thanks. Have edited the previous comment: s/Bruce/Pierre/.
No problem! We all make mistakes...
And for the ssl-ssh confusion, I can tell you it happenned to me more than once!
I have thought a little about the meaning of the messages in the log. It seems that the test is expecting an answer from some network query, which can fit the regexp, that is, either:
-Problem whe submitting via SCP (or SSCP or CP)
-Error message was: (several possibilities, among which "libcurl was built with SSL disabled. https: not supported")
-Submission problem, etc
That is, the test does not assume libcurl is built with SSL, it just expects a particular answer in this case, which would not make the test fail. Unfortunately, it gets none of the above possibilites.
It would be interesting to know what the real answer is, (and actually, for that, we would have to dig into the test to know the query...), and modify the regexp accordingly.
Unfortunately, I have no working BLFS system right now, since I screwed up my BLFS partition while testing jhalfs-CLFS (we learn from errors, don't we?).
Regards Pierre
comment:10 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Thank you very much, Pierre. Notice your post after committed the update. Saw your posts at CLFS-DEV. I am a retired physicist, so, a retired colleague of yours. Unfortunately, I do not know how to "dig into the test".
Fixed at revision 12177.
comment:11 by , 11 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Looks like the tests depend on the availability of external sites. Yesterday, I tried to build and test CMake (on top of LFS-7.4). I got one error, which was different from the ones reported in this thread:
159/304 Test #159: CTestTestUpload ..................................................***Failed Required regular expression not found.Regex=[Upload\.xml ] 2.81 sec
But this morning, with the same building tree (I just retyped make test), all the tests pass.
It seems that particular test tried to upload a small cmake project to www.cdash.org, and I guess that the site was unavailable yesterday.
I suggest a rewording, which I could commit myself, but do not want to bypass you, Fernando.
comment:12 by , 11 years ago
Go ahead and just add a note that some tests depend on the availability of remote sites that may not be available.
comment:13 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Thanks Bruce, done at r12181
follow-up: 15 comment:14 by , 11 years ago
No problem, Pierre. Thanks. I am learning a lot and book is being improved.
Bruce, why Pierre's commits do not appear in the -book? The other day, the initramfs did not appear.
Actually, I have been trying to understand the failures, in my case, since your comment on Saturday. Just found some logs that seem to be relevant, but cannot understand why the failures occur. But they do not seem to be related to external sites.
Including these log files, perhaps we can get them understood:
cmake-2.8.12.1/Tests/CTestTestFailedSubmits/ftp/Testing/Temporary/LastSubmit_20131111-1111.log cmake-2.8.12.1/Tests/CTestTestFailedSubmits/https/Testing/Temporary/LastSubmit_20131111-1115.log cmake-2.8.12.1/Tests/CTestTestFailedSubmits/http/Testing/Temporary/LastSubmit_20131111-1113.log cmake-2.8.12.1/Tests/CTestTestFailedSubmits/test-ftp.log cmake-2.8.12.1/Tests/CTestTestFailedSubmits/test-http.log cmake-2.8.12.1/Tests/CTestTestFailedSubmits/test-https.log
Upload files: 0 Build.xml 1 Configure.xml 2 Notes.xml 3 Test.xml Using drop method: FTP Upload file: /home/fernando/tmp/paco-build-2013.11.11-07h52m31s/cmake-2.8.12.1/Tests/CTestTestFailedSubmits/ftp/Testing/20131111-1111/Build.xml to ftp://:@/VMWLFS74___CTestTestLaunchers-ftp___20131111-1111-Experimental___XML___Build.xml Error when uploading file: /home/fernando/tmp/paco-build-2013.11.11-07h52m31s/cmake-2.8.12.1/Tests/CTestTestFailedSubmits/ftp/Testing/20131111-1111/Build.xml Error message was: Failed connect to :21; Connection timed out Curl output was: Problems when submitting via FTP
Upload files: 0 Build.xml 1 Configure.xml 2 Notes.xml 3 Test.xml Using drop method: https Upload file: /home/fernando/tmp/paco-build-2013.11.11-07h52m31s/cmake-2.8.12.1/Tests/CTestTestFailedSubmits/https/Testing/20131111-1115/Build.xml to VMWLFS74___CTestTestLaunchers-https___20131111-1115-Experimental___XML___Build.xml Error when uploading file: /home/fernando/tmp/paco-build-2013.11.11-07h52m31s/cmake-2.8.12.1/Tests/CTestTestFailedSubmits/https/Testing/20131111-1115/Build.xml Error message was: Failed connect to https:80; Connection timed out Problems when submitting via HTTP
Upload files: 0 Build.xml 1 Configure.xml 2 Notes.xml 3 Test.xml Using drop method: http Upload file: /home/fernando/tmp/paco-build-2013.11.11-07h52m31s/cmake-2.8.12.1/Tests/CTestTestFailedSubmits/http/Testing/20131111-1113/Build.xml to VMWLFS74___CTestTestLaunchers-http___20131111-1113-Experimental___XML___Build.xml Error when uploading file: /home/fernando/tmp/paco-build-2013.11.11-07h52m31s/cmake-2.8.12.1/Tests/CTestTestFailedSubmits/http/Testing/20131111-1113/Build.xml Error message was: Failed connect to http:80; Connection timed out Problems when submitting via HTTP
[HANDLER_OUTPUT] Run dashboard with model Experimental Source directory: /home/fernando/tmp/paco-build-2013.11.11-07h52m31s/cmake-2.8.12.1/Tests/CTestTest/SmallAndFast Build directory: /home/fernando/tmp/paco-build-2013.11.11-07h52m31s/cmake-2.8.12.1/Tests/CTestTestFailedSubmits/ftp [WARNING] Cannot locate CTest configuration: in BuildDirectory: /home/fernando/tmp/paco-build-2013.11.11-07h52m31s/cmake-2.8.12.1/Tests/CTestTestFailedSubmits/ftp/CTestConfig.cmake Cannot locate CTest configuration: in SourceDirectory: /home/fernando/tmp/paco-build-2013.11.11-07h52m31s/cmake-2.8.12.1/Tests/CTestTest/SmallAndFast/CTestConfig.cmake [OUTPUT] Site: VMWLFS74 Build name: CTestTestLaunchers-ftp Use Experimental tag: 20131111-1111 [HANDLER_OUTPUT] Configure project Each . represents 1024 bytes of output .[OUTPUT] Size of output: 0K [HANDLER_OUTPUT] Build project Each symbol represents 1024 bytes of output. ..[OUTPUT] Size of output: 1K [ERROR_MESSAGE] Error(s) when building project [HANDLER_OUTPUT] 2 Compiler errors 1 Compiler warnings Test project /home/fernando/tmp/paco-build-2013.11.11-07h52m31s/cmake-2.8.12.1/Tests/CTestTestFailedSubmits/ftp Start 1: test0 1/3 Test #1: test0 ............................ Passed 0.00 sec Start 2: test1 2/3 Test #2: test1 ............................ Passed 0.00 sec Start 3: test2 3/3 Test #3: test2 ............................ Passed 0.00 sec 100% tests passed, 0 tests failed out of 3 Label Time Summary: 0ArgTest = 0.00 sec 1ArgTest = 0.00 sec 2ArgTest = 0.00 sec Everything = 0.00 sec TestLabel = 0.00 sec Total Test time (real) = 0.01 sec Performing coverage [WARNING] Cannot find any coverage files. Ignoring Coverage request. [OUTPUT] Add file: /home/fernando/tmp/paco-build-2013.11.11-07h52m31s/cmake-2.8.12.1/Tests/CTestTestFailedSubmits/test-ftp.cmake [HANDLER_OUTPUT] Submit files (using ftp) Using FTP submit method Drop site: ftp:// [ERROR_MESSAGE] Error when uploading file: /home/fernando/tmp/paco-build-2013.11.11-07h52m31s/cmake-2.8.12.1/Tests/CTestTestFailedSubmits/ftp/Testing/20131111-1111/Build.xml Error message was: Failed connect to :21; Connection timed out Problems when submitting via FTP [HANDLER_OUTPUT] Run dashboard with model Experimental Source directory: /home/fernando/tmp/paco-build-2013.11.11-07h52m31s/cmake-2.8.12.1/Tests/CTestTest/SmallAndFast Build directory: /home/fernando/tmp/paco-build-2013.11.11-07h52m31s/cmake-2.8.12.1/Tests/CTestTestFailedSubmits/ftp [WARNING] Cannot locate CTest configuration: in BuildDirectory: /home/fernando/tmp/paco-build-2013.11.11-07h52m31s/cmake-2.8.12.1/Tests/CTestTestFailedSubmits/ftp/CTestConfig.cmake Cannot locate CTest configuration: in SourceDirectory: /home/fernando/tmp/paco-build-2013.11.11-07h52m31s/cmake-2.8.12.1/Tests/CTestTest/SmallAndFast/CTestConfig.cmake [OUTPUT] Site: VMWLFS74 Build name: CTestTestLaunchers-ftp Use existing tag: 20131111-1111 - Experimental Use Experimental tag: 20131111-1111 [ERROR_MESSAGE] Error in read script: /home/fernando/tmp/paco-build-2013.11.11-07h52m31s/cmake-2.8.12.1/Tests/CTestTestFailedSubmits/test-ftp.cmake
[HANDLER_OUTPUT] Run dashboard with model Experimental Source directory: /home/fernando/tmp/paco-build-2013.11.11-07h52m31s/cmake-2.8.12.1/Tests/CTestTest/SmallAndFast Build directory: /home/fernando/tmp/paco-build-2013.11.11-07h52m31s/cmake-2.8.12.1/Tests/CTestTestFailedSubmits/http [WARNING] Cannot locate CTest configuration: in BuildDirectory: /home/fernando/tmp/paco-build-2013.11.11-07h52m31s/cmake-2.8.12.1/Tests/CTestTestFailedSubmits/http/CTestConfig.cmake Cannot locate CTest configuration: in SourceDirectory: /home/fernando/tmp/paco-build-2013.11.11-07h52m31s/cmake-2.8.12.1/Tests/CTestTest/SmallAndFast/CTestConfig.cmake [OUTPUT] Site: VMWLFS74 Build name: CTestTestLaunchers-http Use Experimental tag: 20131111-1113 [HANDLER_OUTPUT] Configure project Each . represents 1024 bytes of output .[OUTPUT] Size of output: 0K [HANDLER_OUTPUT] Build project Each symbol represents 1024 bytes of output. ..[OUTPUT] Size of output: 1K [ERROR_MESSAGE] Error(s) when building project [HANDLER_OUTPUT] 2 Compiler errors 1 Compiler warnings Test project /home/fernando/tmp/paco-build-2013.11.11-07h52m31s/cmake-2.8.12.1/Tests/CTestTestFailedSubmits/http Start 1: test0 1/3 Test #1: test0 ............................ Passed 0.00 sec Start 2: test1 2/3 Test #2: test1 ............................ Passed 0.00 sec Start 3: test2 3/3 Test #3: test2 ............................ Passed 0.00 sec 100% tests passed, 0 tests failed out of 3 Label Time Summary: 0ArgTest = 0.00 sec 1ArgTest = 0.00 sec 2ArgTest = 0.00 sec Everything = 0.01 sec TestLabel = 0.01 sec Total Test time (real) = 0.01 sec Performing coverage [WARNING] Cannot find any coverage files. Ignoring Coverage request. [OUTPUT] Add file: /home/fernando/tmp/paco-build-2013.11.11-07h52m31s/cmake-2.8.12.1/Tests/CTestTestFailedSubmits/test-http.cmake [HANDLER_OUTPUT] Submit files (using http) Using HTTP submit method Drop site:http:// [ERROR_MESSAGE] Error when uploading file: /home/fernando/tmp/paco-build-2013.11.11-07h52m31s/cmake-2.8.12.1/Tests/CTestTestFailedSubmits/http/Testing/20131111-1113/Build.xml Error message was: Failed connect to http:80; Connection timed out Problems when submitting via HTTP [HANDLER_OUTPUT] Run dashboard with model Experimental Source directory: /home/fernando/tmp/paco-build-2013.11.11-07h52m31s/cmake-2.8.12.1/Tests/CTestTest/SmallAndFast Build directory: /home/fernando/tmp/paco-build-2013.11.11-07h52m31s/cmake-2.8.12.1/Tests/CTestTestFailedSubmits/http [WARNING] Cannot locate CTest configuration: in BuildDirectory: /home/fernando/tmp/paco-build-2013.11.11-07h52m31s/cmake-2.8.12.1/Tests/CTestTestFailedSubmits/http/CTestConfig.cmake Cannot locate CTest configuration: in SourceDirectory: /home/fernando/tmp/paco-build-2013.11.11-07h52m31s/cmake-2.8.12.1/Tests/CTestTest/SmallAndFast/CTestConfig.cmake [OUTPUT] Site: VMWLFS74 Build name: CTestTestLaunchers-http Use existing tag: 20131111-1113 - Experimental Use Experimental tag: 20131111-1113 [ERROR_MESSAGE] Error in read script: /home/fernando/tmp/paco-build-2013.11.11-07h52m31s/cmake-2.8.12.1/Tests/CTestTestFailedSubmits/test-http.cmake
[HANDLER_OUTPUT] Run dashboard with model Experimental Source directory: /home/fernando/tmp/paco-build-2013.11.11-07h52m31s/cmake-2.8.12.1/Tests/CTestTest/SmallAndFast Build directory: /home/fernando/tmp/paco-build-2013.11.11-07h52m31s/cmake-2.8.12.1/Tests/CTestTestFailedSubmits/https [WARNING] Cannot locate CTest configuration: in BuildDirectory: /home/fernando/tmp/paco-build-2013.11.11-07h52m31s/cmake-2.8.12.1/Tests/CTestTestFailedSubmits/https/CTestConfig.cmake Cannot locate CTest configuration: in SourceDirectory: /home/fernando/tmp/paco-build-2013.11.11-07h52m31s/cmake-2.8.12.1/Tests/CTestTest/SmallAndFast/CTestConfig.cmake [OUTPUT] Site: VMWLFS74 Build name: CTestTestLaunchers-https Use Experimental tag: 20131111-1115 [HANDLER_OUTPUT] Configure project Each . represents 1024 bytes of output .[OUTPUT] Size of output: 0K [HANDLER_OUTPUT] Build project Each symbol represents 1024 bytes of output. ..[OUTPUT] Size of output: 1K [ERROR_MESSAGE] Error(s) when building project [HANDLER_OUTPUT] 2 Compiler errors 1 Compiler warnings Test project /home/fernando/tmp/paco-build-2013.11.11-07h52m31s/cmake-2.8.12.1/Tests/CTestTestFailedSubmits/https Start 1: test0 1/3 Test #1: test0 ............................ Passed 0.00 sec Start 2: test1 2/3 Test #2: test1 ............................ Passed 0.00 sec Start 3: test2 3/3 Test #3: test2 ............................ Passed 0.00 sec 100% tests passed, 0 tests failed out of 3 Label Time Summary: 0ArgTest = 0.00 sec 1ArgTest = 0.00 sec 2ArgTest = 0.00 sec Everything = 0.01 sec TestLabel = 0.01 sec Total Test time (real) = 0.01 sec Performing coverage [WARNING] Cannot find any coverage files. Ignoring Coverage request. [OUTPUT] Add file: /home/fernando/tmp/paco-build-2013.11.11-07h52m31s/cmake-2.8.12.1/Tests/CTestTestFailedSubmits/test-https.cmake [HANDLER_OUTPUT] Submit files (using https) Using HTTP submit method Drop site:https:// [ERROR_MESSAGE] Error when uploading file: /home/fernando/tmp/paco-build-2013.11.11-07h52m31s/cmake-2.8.12.1/Tests/CTestTestFailedSubmits/https/Testing/20131111-1115/Build.xml Error message was: Failed connect to https:80; Connection timed out Problems when submitting via HTTP [HANDLER_OUTPUT] Run dashboard with model Experimental Source directory: /home/fernando/tmp/paco-build-2013.11.11-07h52m31s/cmake-2.8.12.1/Tests/CTestTest/SmallAndFast Build directory: /home/fernando/tmp/paco-build-2013.11.11-07h52m31s/cmake-2.8.12.1/Tests/CTestTestFailedSubmits/https [WARNING] Cannot locate CTest configuration: in BuildDirectory: /home/fernando/tmp/paco-build-2013.11.11-07h52m31s/cmake-2.8.12.1/Tests/CTestTestFailedSubmits/https/CTestConfig.cmake Cannot locate CTest configuration: in SourceDirectory: /home/fernando/tmp/paco-build-2013.11.11-07h52m31s/cmake-2.8.12.1/Tests/CTestTest/SmallAndFast/CTestConfig.cmake [OUTPUT] Site: VMWLFS74 Build name: CTestTestLaunchers-https Use existing tag: 20131111-1115 - Experimental Use Experimental tag: 20131111-1115 [ERROR_MESSAGE] Error in read script: /home/fernando/tmp/paco-build-2013.11.11-07h52m31s/cmake-2.8.12.1/Tests/CTestTestFailedSubmits/test-https.cmake
comment:15 by , 11 years ago
Replying to fo:
Actually, I have been trying to understand the failures, in my case, since your comment
...
they do not seem to be related to external sites.
I will change that in the book.
I am investigating: three tests fail:
In the log, found:
These failures have been reported, but have not found solutions.
Searched in curl-7.33.0 about the "libcurl was built with SSL disabled. https: not supported":
Then, tried:
And got an error:
It seems that libssh2 is necessary for these tests: http://www.libssh2.org/
"Optional for Running the Test Suite
stunnel-4.56 (for the HTTPS and FTPS tests)"
I do not have it installed and do not wish to install it.
Or