Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmake's FetchContent seems to be a little flaky on windows #23

Open
scharlton2 opened this issue Feb 17, 2023 · 2 comments
Open

cmake's FetchContent seems to be a little flaky on windows #23

scharlton2 opened this issue Feb 17, 2023 · 2 comments

Comments

@scharlton2
Copy link
Contributor

I think it has something to do with the googletest download or compile.

Might want to try using externally built googletest library.

see
https://my.cdash.org/viewBuildError.php?type=0&buildid=2289443

from
https://github.com/scharlton2/iphreeqc/actions/runs/4207906342/jobs/7303297047

Run dashboard with model Continuous
   Source directory: D:/a/iphreeqc/iphreeqc
   Build directory: D:/a/iphreeqc/iphreeqc/_ctest
   Reading ctest configuration file: D:/a/iphreeqc/iphreeqc/CTestConfig.cmake
   Site: fv-az618-950
   Build name: Windows
   Use Continuous tag: 20230217-2204
   Updating the repository: D:/a/iphreeqc/iphreeqc
   Use GIT repository type
   New revision of repository is: b67b914220ace4890a94fdb36b5baee6105bebc6
   Gathering version information (one . per revision):
    
Configure project
   Each . represents 1024 bytes of output
    .. Size of output: 1K
Build project
   Each symbol represents 1024 bytes of output.
    ............. Size of output: 13K
Error(s) when building project
   2 Compiler errors
   0 Compiler warnings
Test project D:/a/iphreeqc/iphreeqc/_ctest
      Start  1: TestCompileAndRunC
 1/80 Test  #1: TestCompileAndRunC .................................................   Passed    0.64 sec
      Start  2: TestCompileAndRunCXX
 2/80 Test  #2: TestCompileAndRunCXX ...............................................   Passed    0.16 sec
      Start  3: TestCVar_NOT_BUILT
Could not find executable TestCVar_NOT_BUILT
Unable to find executable: TestCVar_NOT_BUILT
Looked in the following places:
TestCVar_NOT_BUILT
TestCVar_NOT_BUILT.exe
Debug/TestCVar_NOT_BUILT
Debug/TestCVar_NOT_BUILT.exe
Debug/TestCVar_NOT_BUILT
Debug/TestCVar_NOT_BUILT.exe
 3/80 Test  #3: TestCVar_NOT_BUILT .................................................***Not Run   0.00 sec
      Start  4: TestVar_NOT_BUILT
Could not find executable TestVar_NOT_BUILT
Unable to find executable: TestVar_NOT_BUILT
Looked in the following places:
TestVar_NOT_BUILT
TestVar_NOT_BUILT.exe
Debug/TestVar_NOT_BUILT
Debug/TestVar_NOT_BUILT.exe
Debug/TestVar_NOT_BUILT
Debug/TestVar_NOT_BUILT.exe
 4/80 Test  #4: TestVar_NOT_BUILT ..................................................***Not Run   0.00 sec
      Start  5: TestIPhreeqcLib.TestCreateIPhreeqc
 5/80 Test  #5: TestIPhreeqcLib.TestCreateIPhreeqc .................................   Passed    0.02 sec
      Start  6: TestIPhreeqcLib.TestDestroyIPhreeqc
 6/80 Test  #6: TestIPhreeqcLib.TestDestroyIPhreeqc ................................   Passed    0.02 sec
      Start  7: TestIPhreeqcLib.TestLoadDatabase
 7/80 Test  #7: TestIPhreeqcLib.TestLoadDatabase ...................................   Passed   31.14 sec
      Start  8: TestIPhreeqcLib.TestLoadDatabaseString
 8/80 Test  #8: TestIPhreeqcLib.TestLoadDatabaseString .............................   Passed    0.06 sec
      Start  9: TestIPhreeqcLib.TestLoadDatabaseMissingFile
 9/80 Test  #9: TestIPhreeqcLib.TestLoadDatabaseMissingFile ........................   Passed    3.59 sec
      Start 10: TestIPhreeqcLib.TestSetErrorOn
10/80 Test #10: TestIPhreeqcLib.TestSetErrorOn .....................................   Passed    0.03 sec
      Start 11: TestIPhreeqcLib.TestLoadDatabaseWithErrors
11/80 Test #11: TestIPhreeqcLib.TestLoadDatabaseWithErrors .........................   Passed    0.58 sec
      Start 12: TestIPhreeqcLib.TestRunAccumulated
12/80 Test #12: TestIPhreeqcLib.TestRunAccumulated .................................   Passed    0.09 sec
      Start 13: TestIPhreeqcLib.TestRunWithErrors
13/80 Test #13: TestIPhreeqcLib.TestRunWithErrors ..................................   Passed    0.16 sec
      Start 14: TestIPhreeqcLib.TestRunFile
14/80 Test #14: TestIPhreeqcLib.TestRunFile ........................................   Passed    0.16 sec
      Start 15: TestIPhreeqcLib.TestRunString
15/80 Test #15: TestIPhreeqcLib.TestRunString ......................................   Passed    0.11 sec
      Start 16: TestIPhreeqcLib.TestGetSelectedOutputRowCount
16/80 Test #16: TestIPhreeqcLib.TestGetSelectedOutputRowCount ......................   Passed    0.64 sec
      Start 17: TestIPhreeqcLib.TestGetSelectedOutputValue
17/80 Test #17: TestIPhreeqcLib.TestGetSelectedOutputValue .........................   Passed    0.65 sec
      Start 18: TestIPhreeqcLib.TestGetSelectedOutputColumnCount
18/80 Test #18: TestIPhreeqcLib.TestGetSelectedOutputColumnCount ...................   Passed    0.65 sec
      Start 19: TestIPhreeqcLib.TestAddError
19/80 Test #19: TestIPhreeqcLib.TestAddError .......................................   Passed    0.14 sec
      Start 20: TestIPhreeqcLib.TestAccumulateLine
20/80 Test #20: TestIPhreeqcLib.TestAccumulateLine .................................   Passed    0.02 sec
      Start 21: TestIPhreeqcLib.TestOutputErrorString
21/80 Test #21: TestIPhreeqcLib.TestOutputErrorString ..............................   Passed    0.02 sec
      Start 22: TestIPhreeqcLib.TestRunWithCallback
22/80 Test #22: TestIPhreeqcLib.TestRunWithCallback ................................   Passed    0.02 sec
      Start 23: TestIPhreeqcLib.TestRunNoDatabaseLoaded
23/80 Test #23: TestIPhreeqcLib.TestRunNoDatabaseLoaded ............................   Passed    0.03 sec
      Start 24: TestIPhreeqcLib.TestCase1
24/80 Test #24: TestIPhreeqcLib.TestCase1 ..........................................   Passed    0.10 sec
      Start 25: TestIPhreeqcLib.TestCase2
25/80 Test #25: TestIPhreeqcLib.TestCase2 ..........................................   Passed    0.09 sec
      Start 26: TestIPhreeqcLib.TestPrintSelectedOutputFalse
26/80 Test #26: TestIPhreeqcLib.TestPrintSelectedOutputFalse .......................   Passed    0.15 sec
      Start 27: TestIPhreeqcLib.TestOutputFileOnOff
27/80 Test #27: TestIPhreeqcLib.TestOutputFileOnOff ................................   Passed    0.30 sec
      Start 28: TestIPhreeqcLib.TestErrorFileOnOff
28/80 Test #28: TestIPhreeqcLib.TestErrorFileOnOff .................................   Passed    0.29 sec
      Start 29: TestIPhreeqcLib.TestLogFileOnOff
29/80 Test #29: TestIPhreeqcLib.TestLogFileOnOff ...................................   Passed    0.29 sec
      Start 30: TestIPhreeqcLib.TestDumpFileOnOff
30/80 Test #30: TestIPhreeqcLib.TestDumpFileOnOff ..................................   Passed    0.29 sec
      Start 31: TestIPhreeqcLib.TestSelOutFileOnOff
31/80 Test #31: TestIPhreeqcLib.TestSelOutFileOnOff ................................   Passed    0.28 sec
      Start 32: TestIPhreeqcLib.TestLongHeadings
32/80 Test #32: TestIPhreeqcLib.TestLongHeadings ...................................   Passed    0.08 sec
      Start 33: TestIPhreeqcLib.TestDatabaseKeyword
33/80 Test #33: TestIPhreeqcLib.TestDatabaseKeyword ................................   Passed    0.09 sec
      Start 34: TestIPhreeqcLib.TestDumpString
34/80 Test #34: TestIPhreeqcLib.TestDumpString .....................................   Passed    0.09 sec
      Start 35: TestIPhreeqcLib.TestGetDumpStringLineCount
35/80 Test #35: TestIPhreeqcLib.TestGetDumpStringLineCount .........................   Passed    0.09 sec
      Start 36: TestIPhreeqcLib.TestGetDumpStringLine
36/80 Test #36: TestIPhreeqcLib.TestGetDumpStringLine ..............................   Passed    0.09 sec
      Start 37: TestIPhreeqcLib.TestGetComponentCount
37/80 Test #37: TestIPhreeqcLib.TestGetComponentCount ..............................   Passed    0.09 sec
      Start 38: TestIPhreeqcLib.TestGetComponent
38/80 Test #38: TestIPhreeqcLib.TestGetComponent ...................................   Passed    0.16 sec
      Start 39: TestIPhreeqcLib.TestGetErrorStringLine
39/80 Test #39: TestIPhreeqcLib.TestGetErrorStringLine .............................   Passed    0.09 sec
      Start 40: TestIPhreeqcLib.TestErrorFileOn
40/80 Test #40: TestIPhreeqcLib.TestErrorFileOn ....................................   Passed    0.09 sec
      Start 41: TestIPhreeqcLib.TestLogFileOn
41/80 Test #41: TestIPhreeqcLib.TestLogFileOn ......................................   Passed    0.09 sec
      Start 42: TestIPhreeqcLib.TestGetWarningStringLine
42/80 Test #42: TestIPhreeqcLib.TestGetWarningStringLine ...........................   Passed    0.09 sec
      Start 43: TestIPhreeqcLib.TestPitzer
43/80 Test #43: TestIPhreeqcLib.TestPitzer .........................................   Passed    0.09 sec
      Start 44: TestIPhreeqcLib.TestClearAccumulatedLines
44/80 Test #44: TestIPhreeqcLib.TestClearAccumulatedLines ..........................   Passed    0.24 sec
      Start 45: TestIPhreeqcLib.TestSetDumpFileName
45/80 Test #45: TestIPhreeqcLib.TestSetDumpFileName ................................   Passed    0.09 sec
      Start 46: TestIPhreeqcLib.TestSetOutputFileName
46/80 Test #46: TestIPhreeqcLib.TestSetOutputFileName ..............................   Passed    0.08 sec
      Start 47: TestIPhreeqcLib.TestOutputStringOnOff
47/80 Test #47: TestIPhreeqcLib.TestOutputStringOnOff ..............................   Passed    0.02 sec
      Start 48: TestIPhreeqcLib.TestGetOutputString
48/80 Test #48: TestIPhreeqcLib.TestGetOutputString ................................   Passed    0.09 sec
      Start 49: TestIPhreeqcLib.TestGetOutputStringLineCount
49/80 Test #49: TestIPhreeqcLib.TestGetOutputStringLineCount .......................   Passed    0.08 sec
      Start 50: TestIPhreeqcLib.TestGetOutputStringLine
50/80 Test #50: TestIPhreeqcLib.TestGetOutputStringLine ............................   Passed    0.08 sec
      Start 51: TestIPhreeqcLib.TestSetLogFileName
51/80 Test #51: TestIPhreeqcLib.TestSetLogFileName .................................   Passed    0.08 sec
      Start 52: TestIPhreeqcLib.TestLogStringOnOff
52/80 Test #52: TestIPhreeqcLib.TestLogStringOnOff .................................   Passed    0.02 sec
      Start 53: TestIPhreeqcLib.TestGetLogString
53/80 Test #53: TestIPhreeqcLib.TestGetLogString ...................................   Passed    0.10 sec
      Start 54: TestIPhreeqcLib.TestGetLogStringLineCount
54/80 Test #54: TestIPhreeqcLib.TestGetLogStringLineCount ..........................   Passed    0.09 sec
      Start 55: TestIPhreeqcLib.TestGetLogStringLine
55/80 Test #55: TestIPhreeqcLib.TestGetLogStringLine ...............................   Passed    0.09 sec
      Start 56: TestIPhreeqcLib.TestSetErrorFileName
56/80 Test #56: TestIPhreeqcLib.TestSetErrorFileName ...............................   Passed    0.16 sec
      Start 57: TestIPhreeqcLib.TestErrorStringOnOff
57/80 Test #57: TestIPhreeqcLib.TestErrorStringOnOff ...............................   Passed    0.02 sec
      Start 58: TestIPhreeqcLib.TestGetErrorString
58/80 Test #58: TestIPhreeqcLib.TestGetErrorString .................................   Passed    0.17 sec
      Start 59: TestIPhreeqcLib.TestGetErrorStringLineCount
59/80 Test #59: TestIPhreeqcLib.TestGetErrorStringLineCount ........................   Passed    0.31 sec
      Start 60: TestIPhreeqcLib.TestSetSelectedOutputFileName
60/80 Test #60: TestIPhreeqcLib.TestSetSelectedOutputFileName ......................   Passed    0.64 sec
      Start 61: TestIPhreeqcLib.TestSelectedOutputStringOnOff
61/80 Test #61: TestIPhreeqcLib.TestSelectedOutputStringOnOff ......................   Passed    0.02 sec
      Start 62: TestIPhreeqcLib.TestGetSelectedOutputString
62/80 Test #62: TestIPhreeqcLib.TestGetSelectedOutputString ........................   Passed    0.65 sec
      Start 63: TestIPhreeqcLib.TestGetSelectedOutputStringLineCount
63/80 Test #63: TestIPhreeqcLib.TestGetSelectedOutputStringLineCount ...............   Passed    0.65 sec
      Start 64: TestIPhreeqcLib.TestGetSelectedOutputStringLine
64/80 Test #64: TestIPhreeqcLib.TestGetSelectedOutputStringLine ....................   Passed    0.67 sec
      Start 65: TestIPhreeqcLib.TestGetSelectedOutputStringLineNotEnoughHeadings
65/80 Test #65: TestIPhreeqcLib.TestGetSelectedOutputStringLineNotEnoughHeadings ...   Passed    0.64 sec
      Start 66: TestIPhreeqcLib.TestLongUser_Punch
66/80 Test #66: TestIPhreeqcLib.TestLongUser_Punch .................................   Passed    0.09 sec
      Start 67: TestIPhreeqcLib.TestBasicSURF
67/80 Test #67: TestIPhreeqcLib.TestBasicSURF ......................................   Passed    0.19 sec
      Start 68: TestIPhreeqcLib.TestIEEE
68/80 Test #68: TestIPhreeqcLib.TestIEEE ...........................................   Passed    0.02 sec
      Start 69: TestIPhreeqcLib.TestDelete
69/80 Test #69: TestIPhreeqcLib.TestDelete .........................................   Passed    0.09 sec
      Start 70: TestIPhreeqcLib.TestMultiPunchCSelectedOutput
70/80 Test #70: TestIPhreeqcLib.TestMultiPunchCSelectedOutput ......................   Passed    0.15 sec
      Start 71: TestIPhreeqcLib.TestGetSelectedOutputCount
71/80 Test #71: TestIPhreeqcLib.TestGetSelectedOutputCount .........................   Passed    0.16 sec
      Start 72: TestIPhreeqcLib.TestGetNthSelectedOutputUserNumber
72/80 Test #72: TestIPhreeqcLib.TestGetNthSelectedOutputUserNumber .................   Passed    0.15 sec
      Start 73: TestIPhreeqcLib.TestGetCurrentSelectedOutputUserNumber
73/80 Test #73: TestIPhreeqcLib.TestGetCurrentSelectedOutputUserNumber .............   Passed    0.21 sec
      Start 74: TestIPhreeqcLib.TestMultiSetSelectedOutputFileName
74/80 Test #74: TestIPhreeqcLib.TestMultiSetSelectedOutputFileName .................   Passed    0.18 sec
      Start 75: TestIPhreeqcLib.TestWissmeier20131203
75/80 Test #75: TestIPhreeqcLib.TestWissmeier20131203 ..............................   Passed    0.08 sec
      Start 76: TestIPhreeqcLib.TestWissmeier20131203_2
76/80 Test #76: TestIPhreeqcLib.TestWissmeier20131203_2 ............................   Passed    0.08 sec
      Start 77: TestIPhreeqcLib.TestWissmeier20131203_3
77/80 Test #77: TestIPhreeqcLib.TestWissmeier20131203_3 ............................   Passed    0.08 sec
      Start 78: TestIPhreeqcLib.TestIsZeroInitialized
78/80 Test #78: TestIPhreeqcLib.TestIsZeroInitialized ..............................   Passed    0.02 sec
      Start 79: TestIPhreeqc_NOT_BUILT
Could not find executable TestIPhreeqc_NOT_BUILT
Unable to find executable: TestIPhreeqc_NOT_BUILT
Looked in the following places:
TestIPhreeqc_NOT_BUILT
TestIPhreeqc_NOT_BUILT.exe
Debug/TestIPhreeqc_NOT_BUILT
Debug/TestIPhreeqc_NOT_BUILT.exe
Debug/TestIPhreeqc_NOT_BUILT
Debug/TestIPhreeqc_NOT_BUILT.exe
79/80 Test #79: TestIPhreeqc_NOT_BUILT .............................................***Not Run   0.00 sec
      Start 80: TestSelectedOutput_NOT_BUILT
Could not find executable TestSelectedOutput_NOT_BUILT
Unable to find executable: TestSelectedOutput_NOT_BUILT
Looked in the following places:
TestSelectedOutput_NOT_BUILT
TestSelectedOutput_NOT_BUILT.exe
Debug/TestSelectedOutput_NOT_BUILT
Debug/TestSelectedOutput_NOT_BUILT.exe
Debug/TestSelectedOutput_NOT_BUILT
Debug/TestSelectedOutput_NOT_BUILT.exe
80/80 Test #80: TestSelectedOutput_NOT_BUILT .......................................***Not Run   0.00 sec

95% tests passed, 4 tests failed out of 80

Total Test time (real) =  48.40 sec

The following tests FAILED:
	  3 - TestCVar_NOT_BUILT (Not Run)
	  4 - TestVar_NOT_BUILT (Not Run)
	 79 - TestIPhreeqc_NOT_BUILT (Not Run)
	 80 - TestSelectedOutput_NOT_BUILT (Not Run)
Submit files
   SubmitURL: https://my.cdash.org/submit.php?project=iphreeqc
   Uploaded: D:/a/iphreeqc/iphreeqc/_ctest/Testing/20230217-2204/Update.xml
   Uploaded: D:/a/iphreeqc/iphreeqc/_ctest/Testing/20230217-2204/Configure.xml
   Uploaded: D:/a/iphreeqc/iphreeqc/_ctest/Testing/20230217-2204/Build.xml
   Uploaded: D:/a/iphreeqc/iphreeqc/_ctest/Testing/20230217-2204/Test.xml
   Uploaded: D:/a/iphreeqc/iphreeqc/_ctest/Testing/20230217-2204/Done.xml
   Submission successful
@scharlton2
Copy link
Contributor Author

Duplicate of #18

@scharlton2
Copy link
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant