owncloud / owncloud/QA

Test for many shares

Open
#289 12 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Shell
Stars
16
Forks
16
Avg merge
11h 11m
Merged PRs (30d)
1

Description

Goal is to reproduce https://github.com/owncloud/core/issues/25557 on v9.1.0.

There is a recursion in the code that is not supposed to happen.

To trigger it:

  1. Setup v9.0.3
  2. Create 100 users and add them all to a group "testgroup"
  3. Foreach user as "userX"
    1. Create a folder "testX"
    2. Share "testX" with "testgroup"
  4. Create a test user "test" in the group "testgroup"
  5. Login as "testX" and do a PROPFIND on the root
  6. Upgrade to v9.1.0
  7. Login as "testX" and do a PROPFIND on the root

On v9.0.3 this should work fine as there is no recursion.
On v9.1.0 this would fail with either memory errors, CSRF fails (login in web UI) or other weird symptoms.

Is this something we can setup as an automated test ? @owncloud/qa @jnweiger @mrow4a

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked core issue and the reproduction steps, using the v9.0.3 and v9.1.0 setups and the PROPFIND request as the entry points. Done means an automated test covers 100 users sharing folders with testgroup and detects the recursion-related failure or symptoms on v9.1.0 while confirming the scenario works on v9.0.3.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
testing
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.