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

[tests-only] [full-ci] Demo ci with user keys encryption #331

Closed
wants to merge 1 commit into from

Conversation

phil-davis
Copy link
Contributor

See PR #319 for the previous run of this.

See what CI says about test scenarios run with user-key encryption.

@phil-davis phil-davis force-pushed the ci-with-user-keys-encryption-2022-03 branch from 74d42ad to 9828a6c Compare March 23, 2022 04:19
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@phil-davis
Copy link
Contributor Author

phil-davis commented Mar 23, 2022

https://drone.owncloud.com/owncloud/encryption/2366/94/19

runsh: Total unexpected failed scenarios throughout the test run:
cliExternalStorage/filesExternalWebdavOwncloud.feature:309
cliExternalStorage/filesExternalWebdavOwncloud.feature:354
cliExternalStorage/filesExternalWebdavOwncloud.feature:403
 Scenario: user moves a file out of external storage to their own storage                                                                # /var/www/owncloud/testrunner/tests/acceptance/features/cliExternalStorage/filesExternalWebdavOwncloud.feature:309
    Given the administrator has created an external mount point with the following configuration about user "Alice" using the occ command # OccContext::adminHasCreatedAnExternalMountPointWithFollowingConfigUsingTheOccCommand()
      | host                   | %remote_server%    |
      | root                   | TestMnt            |
      | secure                 | false              |
      | user                   | %username%         |
      | password               | %password%         |
      | storage_backend        | owncloud           |
      | mount_point            | TestMountPoint     |
      | authentication_backend | password::password |
    And user "Brian" has been created with default attributes and without skeleton files                                                  # FeatureContext::userHasBeenCreatedWithDefaultAttributesAndWithoutSkeletonFiles()
    And using server "REMOTE"                                                                                                             # FeatureContext::usingServer()
    And user "Alice" has uploaded file with content "Test content for moving file." to "TestMnt/test.txt"                                 # FeatureContext::userHasUploadedAFileWithContentTo()
    And using server "LOCAL"                                                                                                              # FeatureContext::usingServer()
    When user "Brian" moves file "TestMountPoint/test.txt" to "/test.txt" using the WebDAV API                                            # FeatureContext::userMovesFileUsingTheAPI()
    Then the HTTP status code should be "201"                                                                                             # FeatureContext::thenTheHTTPStatusCodeShouldBe()
      HTTP status code 500 is not the expected value 201
      Failed asserting that 500 matches expected '201'.
    And as "Brian" file "/test.txt" should exist                                                                                          # FeatureContext::asFileOrFolderShouldExist()
    And the content of file "/test.txt" for user "Brian" should be "Test content for moving file."   

And a couple of other scenarios with similar results related to trying to move files to or from external storage when there is user-key encryption.

IMO these are all related to issue #326 which is a scenario moving a file into external storage. Moving a file out of external storage seems to also have problems when there is user-key encryption.

@phil-davis
Copy link
Contributor Author

Looks OK - just issue #326

@phil-davis phil-davis closed this Mar 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant