REMINDER: Fix Jenkins on Windows
https://ci.owncloud.org/job/server-master-windows/
Unit test execution is failing due to miss configuration of openssl
Solution: provide an openssl.cnf within the tests folder and point the configuration there
Thanks @ringmaster for your support
@ringmaster Can you help here?
Yes, I'm in the midst of a bunch of windows unit test fixes right now. I'll add this to the queue.
This is the test result I'm seeing with the errors: https://ci.owncloud.org/job/server-master-windows/database=sqlite,label=WINDOWS/lastCompletedBuild/testReport/
Note that some of those test fail locally even when I've got openssl.cnf set up properly here.
I'm guessing that there are specific configs for the test environment that will need to include the array item for the openssl config location. Where can I find those?
https://github.com/owncloud/core/blob/master/tests/preseed-config.php#L23
Thanks a lot!
I consider this as fixed as we have openssl properly configured on windows jenkins
To confirm, if we now see openssl errors in the test report, they are real issues, and not phantoms caused by incorrect openssl config, correct?
@ringmaster for me the errors are no longer config related - e.g. https://ci.owncloud.org/job/server-master-windows/database=sqlite,label=WINDOWS/lastCompletedBuild/testReport/%28root%29/Test_Encryption_Share/testShareFileWithGroup/
Test_Encryption_Share::testShareFileWithGroup
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'hats'
+'VnhunQ==00iv00USfUaESdoRfzsbWyxx'
C:\jenkins2\workspace\server-master-windows\database\sqlite\label\WINDOWS\apps\files_encryption\tests\share.php:622
Agreed?
Yes, agreed.