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

Remove the upload and memory setting #14430

Merged
merged 1 commit into from
Mar 4, 2019

Conversation

nickvergessen
Copy link
Member

Close #13990

See #13990 for details and discussion

Copy link
Member

@MorrisJobke MorrisJobke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested and works 👍

Copy link
Contributor

@rcdailey rcdailey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To the best of my limited knowledge of the code base, looks good to me. And some of this looks familiar because on my branch I started removing some of this. Looks like you covered a lot more than I thought to look at though. Thanks so much for your change!

@MorrisJobke MorrisJobke added 4. to release Ready to be released and/or waiting for tests to finish 2. developing Work in progress and removed 3. to review Waiting for reviews 4. to release Ready to be released and/or waiting for tests to finish labels Feb 28, 2019
@ghost
Copy link

ghost commented Mar 1, 2019

🤖 beep boop beep 🤖

Here are the logs for the failed build:

Status of 16565: failure

  • ENABLE_REDIS=true, TESTS=nodb-codecov
Show full log
There was 1 error:

1) Test\IntegrityCheck\CheckerTest::testWriteCoreSignatureWithValidModifiedHtaccessAndUserIni
Exception: /drone/src/github.com/nextcloud/server/tests/data/integritycheck/htaccessWithValidModifiedContent/core is not writable

/drone/src/github.com/nextcloud/server/lib/private/IntegrityCheck/Checker.php:283
/drone/src/github.com/nextcloud/server/tests/lib/IntegrityCheck/CheckerTest.php:660

--

There was 1 failure:

1) Test\IntegrityCheck\CheckerTest::testVerifyCoreSignatureWithValidModifiedHtaccessAndUserIniSignatureData
Failed asserting that Array &0 (
    'INVALID_HASH' => Array &1 (
        '.htaccess' => Array &2 (
            'expected' => '9a37a508ad4cc3a7ff668e3cd63177891e5601143fa18bb605346020d5f3cd7979748beab956554aca43ae59ff146755cfe83de0f93a3a7bb328b1395b2ccf2f'
            'current' => 'e7140c092ecf6ed3401f922efc81b635cb253d90f56cad5ad9765511edf6b2d8c663fcb5648617d561ecd2cf7ae8503d7d2ce3b88f46844d5771909aa0dba188'
        )
        '.user.ini' => Array &3 (
            'expected' => '467d4f028c447895716a2b7859ed6e569f8ee34b87b51d73dab2e6a9ca4fbe63172c7be3e365ae864a60408286afcce852dd38ee544b61685ed4ee5e021fecb0'
            'current' => '8362e2f91924dde144162fe6b6757d88b8e6cd7266fd0e90e32aee37e662b7854384a211ac44e8703fa093833df6d5cceef5426eb141dc2638ff88d245cea3c0'
        )
    )
) is identical to Array &0 ().

/drone/src/github.com/nextcloud/server/tests/lib/IntegrityCheck/CheckerTest.php:763

  • DB=NODB, ENABLE_REDIS=true, PHP=7.1
Show full log
There was 1 error:

1) Test\IntegrityCheck\CheckerTest::testWriteCoreSignatureWithValidModifiedHtaccessAndUserIni
Exception: /drone/src/github.com/nextcloud/server/tests/data/integritycheck/htaccessWithValidModifiedContent/core is not writable

/drone/src/github.com/nextcloud/server/lib/private/IntegrityCheck/Checker.php:283
/drone/src/github.com/nextcloud/server/tests/lib/IntegrityCheck/CheckerTest.php:660

--

There was 1 failure:

1) Test\IntegrityCheck\CheckerTest::testVerifyCoreSignatureWithValidModifiedHtaccessAndUserIniSignatureData
Failed asserting that Array &0 (
    'INVALID_HASH' => Array &1 (
        '.htaccess' => Array &2 (
            'expected' => '9a37a508ad4cc3a7ff668e3cd63177891e5601143fa18bb605346020d5f3cd7979748beab956554aca43ae59ff146755cfe83de0f93a3a7bb328b1395b2ccf2f'
            'current' => 'e7140c092ecf6ed3401f922efc81b635cb253d90f56cad5ad9765511edf6b2d8c663fcb5648617d561ecd2cf7ae8503d7d2ce3b88f46844d5771909aa0dba188'
        )
        '.user.ini' => Array &3 (
            'expected' => '467d4f028c447895716a2b7859ed6e569f8ee34b87b51d73dab2e6a9ca4fbe63172c7be3e365ae864a60408286afcce852dd38ee544b61685ed4ee5e021fecb0'
            'current' => '8362e2f91924dde144162fe6b6757d88b8e6cd7266fd0e90e32aee37e662b7854384a211ac44e8703fa093833df6d5cceef5426eb141dc2638ff88d245cea3c0'
        )
    )
) is identical to Array &0 ().

/drone/src/github.com/nextcloud/server/tests/lib/IntegrityCheck/CheckerTest.php:763

  • DB=NODB, ENABLE_REDIS=false, PHP=7.2
Show full log
There was 1 error:

1) Test\IntegrityCheck\CheckerTest::testWriteCoreSignatureWithValidModifiedHtaccessAndUserIni
Exception: /drone/src/github.com/nextcloud/server/tests/data/integritycheck/htaccessWithValidModifiedContent/core is not writable

/drone/src/github.com/nextcloud/server/lib/private/IntegrityCheck/Checker.php:283
/drone/src/github.com/nextcloud/server/tests/lib/IntegrityCheck/CheckerTest.php:660

--

There was 1 failure:

1) Test\IntegrityCheck\CheckerTest::testVerifyCoreSignatureWithValidModifiedHtaccessAndUserIniSignatureData
Failed asserting that Array &0 (
    'INVALID_HASH' => Array &1 (
        '.htaccess' => Array &2 (
            'expected' => '9a37a508ad4cc3a7ff668e3cd63177891e5601143fa18bb605346020d5f3cd7979748beab956554aca43ae59ff146755cfe83de0f93a3a7bb328b1395b2ccf2f'
            'current' => 'e7140c092ecf6ed3401f922efc81b635cb253d90f56cad5ad9765511edf6b2d8c663fcb5648617d561ecd2cf7ae8503d7d2ce3b88f46844d5771909aa0dba188'
        )
        '.user.ini' => Array &3 (
            'expected' => '467d4f028c447895716a2b7859ed6e569f8ee34b87b51d73dab2e6a9ca4fbe63172c7be3e365ae864a60408286afcce852dd38ee544b61685ed4ee5e021fecb0'
            'current' => '8362e2f91924dde144162fe6b6757d88b8e6cd7266fd0e90e32aee37e662b7854384a211ac44e8703fa093833df6d5cceef5426eb141dc2638ff88d245cea3c0'
        )
    )
) is identical to Array &0 ().

/drone/src/github.com/nextcloud/server/tests/lib/IntegrityCheck/CheckerTest.php:763

  • DB=NODB, ENABLE_REDIS=false, PHP=7.3
Show full log
There was 1 error:

1) Test\IntegrityCheck\CheckerTest::testWriteCoreSignatureWithValidModifiedHtaccessAndUserIni
Exception: /drone/src/github.com/nextcloud/server/tests/data/integritycheck/htaccessWithValidModifiedContent/core is not writable

/drone/src/github.com/nextcloud/server/lib/private/IntegrityCheck/Checker.php:283
/drone/src/github.com/nextcloud/server/tests/lib/IntegrityCheck/CheckerTest.php:660

--

There was 1 failure:

1) Test\IntegrityCheck\CheckerTest::testVerifyCoreSignatureWithValidModifiedHtaccessAndUserIniSignatureData
Failed asserting that Array &0 (
    'INVALID_HASH' => Array &1 (
        '.htaccess' => Array &2 (
            'expected' => '9a37a508ad4cc3a7ff668e3cd63177891e5601143fa18bb605346020d5f3cd7979748beab956554aca43ae59ff146755cfe83de0f93a3a7bb328b1395b2ccf2f'
            'current' => 'e7140c092ecf6ed3401f922efc81b635cb253d90f56cad5ad9765511edf6b2d8c663fcb5648617d561ecd2cf7ae8503d7d2ce3b88f46844d5771909aa0dba188'
        )
        '.user.ini' => Array &3 (
            'expected' => '467d4f028c447895716a2b7859ed6e569f8ee34b87b51d73dab2e6a9ca4fbe63172c7be3e365ae864a60408286afcce852dd38ee544b61685ed4ee5e021fecb0'
            'current' => '8362e2f91924dde144162fe6b6757d88b8e6cd7266fd0e90e32aee37e662b7854384a211ac44e8703fa093833df6d5cceef5426eb141dc2638ff88d245cea3c0'
        )
    )
) is identical to Array &0 ().

/drone/src/github.com/nextcloud/server/tests/lib/IntegrityCheck/CheckerTest.php:763

  • ENABLE_OPENLDAP=true, ENABLE_REDIS=true, TESTS=integration-ldap-openldap-features
    • git clone failure - can typically be ignored
  • ENABLE_OPENLDAP=true, ENABLE_REDIS=true, TESTS=integration-ldap-openldap-uid-features
    • git clone failure - can typically be ignored

Copy link
Member

@rullzer rullzer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fine by me 👍

@MorrisJobke
Copy link
Member

unit tests still fail - let me look into this.

@MorrisJobke
Copy link
Member

I will update this once #14493 is in to avoid doubled work due to conflicting lines.

@MorrisJobke MorrisJobke force-pushed the bugfix/13990/remove-upload-setting branch from c14edb9 to c6a69ba Compare March 4, 2019 11:14
* Remove unneeded private method phpFileSize()
* Bump autoloader
* Remove setUploadLimit tests
* Remove integrity check hacks for upload limit

Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
@MorrisJobke MorrisJobke added 3. to review Waiting for reviews and removed 2. developing Work in progress labels Mar 4, 2019
@MorrisJobke
Copy link
Member

I rebased this and fixed the failing tests.

@MorrisJobke MorrisJobke added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Mar 4, 2019
@MorrisJobke MorrisJobke mentioned this pull request Mar 4, 2019
45 tasks
@MorrisJobke
Copy link
Member

Failures are unrelated -> merging.

@MorrisJobke MorrisJobke merged commit bbb168a into master Mar 4, 2019
@MorrisJobke MorrisJobke deleted the bugfix/13990/remove-upload-setting branch March 4, 2019 12:32
@rcdailey
Copy link
Contributor

rcdailey commented Mar 5, 2019

Thanks to everyone for the help on this one. You're all awesome! 🎊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. to release Ready to be released and/or waiting for tests to finish bug feature: settings
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants