Add integration test stage with encryption enabled#26586
Conversation
|
@PVince81, thanks for your PR! By analyzing the history of the files in this pull request, we identified @DeepDiver1975, @jnweiger and @SergioBertolinSG to be potential reviewers. |
|
Ohhhh failures: |
Hmmm |
|
I'm not sure how to make this work. Apparently the transfer ownership feature asks the admin to first decrypt files. We could add an optional step "admin decrypts files for user XYZ" which would do nothing when encryption is disabled. But for decryption we need to input the user's password or have a recovery key set. Also "occ decrypt-all" is an interactive command and would require stdin/stdout magic/juggling to make it work. Piping all answers directly do not seem to work. |
|
Will require #26597 to be able to implement "decrypt-all" command from within the tests. Maybe in the meantime we could skip transfer ownership tests when encryption is enabled. |
|
The remaining failure is about the list of apps not matching, because now we have the "encryption" app enabled as well... |
|
I've added a new tag At least if we merge this now we can benefit for integration test coverage for everything else. |
|
Might need more work to set this up properly: |
|
and: |
Added filter to disable some tests when encryption is enabled.
fdcd51e to
4fbcb7a
Compare
|
@SergioBertolinSG @davitol please review. The Jenkins PR passed now and I expect the Travis to pass soon too. |
|
and @DeepDiver1975 please approve the extra load on Jenkins |
|
Wow, that took 3 hours https://jenkins.owncloud.org/job/owncloud-core/job/core/job/PR-26586/3/ @DeepDiver1975 you were right, maybe we should run that one encryption suite on master and not on the PRs ? There will be even more suites in the future with special getHome configs with and without encryption. |
|
@DeepDiver1975 should we revert the Jenkinsfile change then so we can merge the test scripts at least ? It wouldn't run on CI yet but would be able to run it there later. |
|
|
Closing in favor of #26844 |
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Description
Make it possible to run integration tests with enabled encryption.
Added this as a stage in Jenkinsfile.
Related Issue
Fixes owncloud/QA#324
Motivation and Context
Because we need to make sure that the regular test scenarios like sharing, transfer ownership and others also work with encryption enabled.
How Has This Been Tested?
Let CI do the job.
Screenshots (if appropriate):
Types of changes
Checklist:
@owncloud/qa @DeepDiver1975