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

master build broken #12176

Closed
DeepDiver1975 opened this issue Nov 14, 2014 · 16 comments
Closed

master build broken #12176

DeepDiver1975 opened this issue Nov 14, 2014 · 16 comments

Comments

@DeepDiver1975
Copy link
Member

00:07:01.951 TestSuite 'CertificateManagerTest': Did not clean up proxies
00:07:01.958 PHP Fatal error:  Class 'OC\Security\Crypto' not found in /var/jenkins/workspace/server-master-linux/database/sqlite/label/vm-slave-02/tests/lib/security/crypto.php on line 26
00:07:01.958 PHP Stack trace:
00:07:01.958 PHP   1. {main}() /usr/bin/phpunit:0
00:07:01.958 PHP   2. PHPUnit_TextUI_Command::main() /usr/bin/phpunit:46
00:07:01.958 PHP   3. PHPUnit_TextUI_Command->run() /usr/share/php/PHPUnit/TextUI/Command.php:129
00:07:01.958 PHP   4. PHPUnit_TextUI_TestRunner->doRun() /usr/share/php/PHPUnit/TextUI/Command.php:176
00:07:01.958 PHP   5. PHPUnit_Framework_TestSuite->run() /usr/share/php/PHPUnit/TextUI/TestRunner.php:349
00:07:01.958 PHP   6. PHPUnit_Framework_TestSuite->run() /usr/share/php/PHPUnit/Framework/TestSuite.php:705
00:07:01.958 PHP   7. PHPUnit_Framework_TestSuite->run() /usr/share/php/PHPUnit/Framework/TestSuite.php:705
00:07:01.958 PHP   8. PHPUnit_Framework_TestSuite->runTest() /usr/share/php/PHPUnit/Framework/TestSuite.php:745
00:07:01.958 PHP   9. PHPUnit_Framework_TestCase->run() /usr/share/php/PHPUnit/Framework/TestSuite.php:775
00:07:01.958 PHP  10. PHPUnit_Framework_TestResult->run() /usr/share/php/PHPUnit/Framework/TestCase.php:783
00:07:01.958 PHP  11. PHP_Invoker->invoke() /usr/share/php/PHPUnit/Framework/TestResult.php:646
00:07:01.958 PHP  12. call_user_func_array:{/usr/share/php/PHP/Invoker.php:93}() /usr/share/php/PHP/Invoker.php:93
00:07:01.959 PHP  13. PHPUnit_Framework_TestCase->runBare() /usr/share/php/PHP/Invoker.php:93
00:07:01.959 PHP  14. CryptoTest->setUp() /usr/share/php/PHPUnit/Framework/TestCase.php:835
00:07:03.444 PHP Warning:  Unknown: Cannot destroy the zip context in Unknown on line 0
@DeepDiver1975
Copy link
Member Author

@LukasReschke LukasReschke self-assigned this Nov 14, 2014
@LukasReschke
Copy link
Member

@DeepDiver1975 Passing locally. Can you please retest? - Thanks.

@DeepDiver1975
Copy link
Member Author

sure - retriggered ...

@DeepDiver1975
Copy link
Member Author

@LukasReschke
Copy link
Member

That's now the already fixed test. Please retrigger again :-)

@DeepDiver1975
Copy link
Member Author

LOL

00:01:26.734 ............PHP Fatal error:  Call to undefined method OC\Settings\Controller\MailSettingscontrollerTest::markSkipped() in /var/jenkins/workspace/server-master-linux/database/sqlite/label/vm-slave-02/tests/settings/controller/mailsettingscontrollertest.php on line 154
00:01:26.800 PHP Warning:  Unknown: Cannot destroy the zip context in Unknown on line 0
00:01:26.800 PHP Warning:  Unknown: Cannot destroy the zip context in Unknown on line 0

@LukasReschke
Copy link
Member

🙈

@DeepDiver1975
Copy link
Member Author

with php 5.3:

00:01:12.819 ..................R..................PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 1680 bytes) in /var/jenkins/workspace/server-master-linux-php5.3/database/sqlite/label/vm-slave-02/tests/lib/image.php on line 127
00:01:13.071 PHP Stack trace:
00:01:13.071 PHP   1. {main}() /usr/local/bin/phpunit:0
00:01:13.071 PHP   2. PHPUnit_TextUI_Command::main() /usr/local/bin/phpunit:605
00:01:13.071 PHP   3. PHPUnit_TextUI_Command->run() phar:///usr/local/bin/phpunit/phpunit/TextUI/Command.php:138
00:01:13.071 PHP   4. PHPUnit_TextUI_TestRunner->doRun() phar:///usr/local/bin/phpunit/phpunit/TextUI/Command.php:186
00:01:13.071 PHP   5. PHPUnit_Framework_TestSuite->run() phar:///usr/local/bin/phpunit/phpunit/TextUI/TestRunner.php:423
00:01:13.071 PHP   6. PHPUnit_Framework_TestSuite->run() phar:///usr/local/bin/phpunit/phpunit/Framework/TestSuite.php:751
00:01:13.071 PHP   7. PHPUnit_Framework_TestCase->run() phar:///usr/local/bin/phpunit/phpunit/Framework/TestSuite.php:751
00:01:13.072 PHP   8. PHPUnit_Framework_TestResult->run() phar:///usr/local/bin/phpunit/phpunit/Framework/TestCase.php:711
00:01:13.072 PHP   9. PHP_Invoker->invoke() phar:///usr/local/bin/phpunit/phpunit/Framework/TestResult.php:641
00:01:13.072 PHP  10. call_user_func_array:{phar:///usr/local/bin/phpunit/php-invoker/Invoker.php:93}() phar:///usr/local/bin/phpunit/php-invoker/Invoker.php:93
00:01:13.072 PHP  11. PHPUnit_Framework_TestCase->runBare() phar:///usr/local/bin/phpunit/php-invoker/Invoker.php:93
00:01:13.072 PHP  12. PHPUnit_Framework_TestCase->runTest() phar:///usr/local/bin/phpunit/phpunit/Framework/TestCase.php:775
00:01:13.073 PHP  13. ReflectionMethod->invokeArgs() phar:///usr/local/bin/phpunit/phpunit/Framework/TestCase.php:905
00:01:13.073 PHP  14. Test_Image->testData() phar:///usr/local/bin/phpunit/phpunit/Framework/TestCase.php:905
00:01:13.073 PHP  15. imagecreatefromstring() /var/jenkins/workspace/server-master-linux-php5.3/database/sqlite/label/vm-slave-02/tests/lib/image.php:127
00:01:13.208 Build step 'Execute shell' marked build as failure

@LukasReschke
Copy link
Member

Well - that's not my file.

@LukasReschke LukasReschke removed their assignment Nov 14, 2014
@DeepDiver1975
Copy link
Member Author

Well - that's not my file.

HAHA - you think you are getting away that easy? 😉

@LukasReschke
Copy link
Member

Mhm. Last change to the related files was 2 months ago.

@MorrisJobke
Copy link
Contributor

I simply raised the memory limit to 512 MB 🏃

@karlitschek
Copy link
Contributor

@MorrisJobke Raising the memory limit is cheating! :-)
So what is the status here?

@LukasReschke
Copy link
Member

@karlitschek The memory limit is only failing for 5.3 - I guess we can close this then? - Maybe the GC is better with 5.4 or whatever.

@LukasReschke
Copy link
Member

@DeepDiver1975 Please confirm that this only relates to 5.3 - the other issues pointed out in here should be already fixed.

@karlitschek
Copy link
Contributor

@LukasReschke O.K. Closing.
But just to be clear. ownCloud has to work with the default memory setting of PHP. If we are running against that limit than we have to optimize our code

@lock lock bot locked as resolved and limited conversation to collaborators Aug 14, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants