core icon indicating copy to clipboard operation
core copied to clipboard

REMINDER: Fix Jenkins on Windows

Open DeepDiver1975 opened this issue 13 years ago • 7 comments

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

DeepDiver1975 avatar Sep 16 '13 13:09 DeepDiver1975

@ringmaster Can you help here?

karlitschek avatar Oct 18 '13 16:10 karlitschek

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?

ringmaster avatar Oct 18 '13 16:10 ringmaster

https://github.com/owncloud/core/blob/master/tests/preseed-config.php#L23

Thanks a lot! 

DeepDiver1975 avatar Oct 18 '13 17:10 DeepDiver1975

I consider this as fixed as we have openssl properly configured on windows jenkins

DeepDiver1975 avatar Oct 21 '13 19:10 DeepDiver1975

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 avatar Oct 21 '13 19:10 ringmaster

@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?

DeepDiver1975 avatar Oct 21 '13 20:10 DeepDiver1975

Yes, agreed.

ringmaster avatar Oct 21 '13 20:10 ringmaster