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

Bug With Travis CI #2

Open
gruenwaldlk opened this issue Oct 29, 2019 · 0 comments
Open

Bug With Travis CI #2

gruenwaldlk opened this issue Oct 29, 2019 · 0 comments
Labels
bug Something isn't working

Comments

@gruenwaldlk
Copy link
Owner

Travis CI currently fails for some tests interacting with the file system.
It works locally and on the intended target platform Windows.

Starting test execution, please wait...
Failed   MegBuilderBuildFromAttributeTest
Error Message:
 Test method pg.meg.test.MegFileBinaryFileBuilderUnitTest.MegBuilderBuildFromAttributeTest threw exception: 
System.IO.FileNotFoundException: Could not find file '/home/travis/build/KadVenku/pg.meg/pg.meg.test/test_data/unpacked/DATA/ART/SHADERS/GRASS.FXO'.
Stack Trace:
    at System.IO.FileInfo.get_Length()
   at pg.meg.builder.MegFileBinaryFileBuilder.BuildFileContentTables(MegFileAttribute megFileAttribute, MegFileNameTable megFileNameTable) in /home/travis/build/KadVenku/pg.meg/pg.meg/builder/MegFileBinaryFileBuilder.cs:line 151
   at pg.meg.builder.MegFileBinaryFileBuilder.Build(MegFileAttribute megFileAttribute) in /home/travis/build/KadVenku/pg.meg/pg.meg/builder/MegFileBinaryFileBuilder.cs:line 45
   at pg.meg.test.MegFileBinaryFileBuilderUnitTest.MegBuilderBuildFromAttributeTest() in /home/travis/build/KadVenku/pg.meg/pg.meg.test/MegFileBinaryFileBuilderUnitTest.cs:line 90
Failed   UnpackMegFile_TestSuccess
Error Message:
 Assert.IsTrue failed. 
Stack Trace:
   at pg.meg.test.MegFileUtilityTest.UnpackMegFile_TestSuccess() in /home/travis/build/KadVenku/pg.meg/pg.meg.test/MegFileUtilityTest.cs:line 81
Failed   PackMegFile_TestSuccess
Error Message:
 Test method pg.meg.test.MegFileUtilityTest.PackMegFile_TestSuccess threw exception: 
System.IO.FileNotFoundException: Could not find file '/home/travis/build/KadVenku/pg.meg/pg.meg.test/test_data/unpacked/DATA/ART/SHADERS/GRASS.FXO'.
Stack Trace:
    at System.IO.FileInfo.get_Length()
   at pg.meg.builder.MegFileBinaryFileBuilder.BuildFileContentTables(MegFileAttribute megFileAttribute, MegFileNameTable megFileNameTable) in /home/travis/build/KadVenku/pg.meg/pg.meg/builder/MegFileBinaryFileBuilder.cs:line 151
   at pg.meg.builder.MegFileBinaryFileBuilder.Build(MegFileAttribute megFileAttribute) in /home/travis/build/KadVenku/pg.meg/pg.meg/builder/MegFileBinaryFileBuilder.cs:line 45
   at pg.meg.service.MegFilePackService.PackMegFile(String fullyQualifiedMegFileSavePath, IEnumerable`1 absoluteFilePaths) in /home/travis/build/KadVenku/pg.meg/pg.meg/service/MegFilePackService.cs:line 42
   at pg.meg.MegFileUtility.PackMegFile(String fullyQualifiedMegFileSavePath, IEnumerable`1 absoluteFilePaths) in /home/travis/build/KadVenku/pg.meg/pg.meg/MegFileUtility.cs:line 28
   at pg.meg.test.MegFileUtilityTest.PackMegFile_TestSuccess() in /home/travis/build/KadVenku/pg.meg/pg.meg.test/MegFileUtilityTest.cs:line 89
Total tests: 39. Passed: 36. Failed: 3. Skipped: 0.
Test Run Failed.
Test execution time: 2.0926 Seconds
@gruenwaldlk gruenwaldlk added the bug Something isn't working label Oct 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant