Skip to content
This repository has been archived by the owner on Jan 18, 2021. It is now read-only.

Update reva to v0.1.1-0.20200520150229 #221

Merged
merged 2 commits into from
May 25, 2020

Conversation

PVince81
Copy link
Contributor

No description provided.

@PVince81 PVince81 requested review from C0rby and refs May 22, 2020 07:27
@PVince81 PVince81 self-assigned this May 22, 2020
@PVince81
Copy link
Contributor Author

20 failures

@C0rby
Copy link
Contributor

C0rby commented May 22, 2020

This should fix some tests. owncloud/core#37396

@PVince81
Copy link
Contributor Author

let me temporarily point this PR at the core one to confirm

@PVince81
Copy link
Contributor Author

@PVince81
Copy link
Contributor Author

hmmm, strange. API tests still fail with sharing: https://cloud.drone.io/owncloud/ocis-reva/371/2/6

@C0rby

@C0rby
Copy link
Contributor

C0rby commented May 22, 2020

Ok let me check locally.

@C0rby
Copy link
Contributor

C0rby commented May 22, 2020

That's strange. Locally I get these errors.

Failed scenarios:

    tests/acceptance/features/apiMain/checksums.feature:255
    tests/acceptance/features/apiMain/checksums.feature:256
    tests/acceptance/features/apiWebdavMove2/moveFile.feature:21
    tests/acceptance/features/apiWebdavMove2/moveFile.feature:22
    tests/acceptance/features/apiWebdavOperations/deleteFolderContents.feature:31
    tests/acceptance/features/apiWebdavOperations/deleteFolderContents.feature:32
    tests/acceptance/features/apiWebdavOperations/downloadFile.feature:40
    tests/acceptance/features/apiWebdavOperations/downloadFile.feature:41

@PVince81
Copy link
Contributor Author

let's investigate in detail next week as I'd like to focus on releases today

@PVince81
Copy link
Contributor Author

I'll release without this update in #215.

Still, will rebase that branch to see if CI is still running propertly in case some new test issues have sneaked in somehow

@PVince81
Copy link
Contributor Author

something is fishy... I tried one of the tests "tests/acceptance/features/apiWebdavOperations/downloadFile.feature:40" and it also fails on #215 where it passed before.

@C0rby
Copy link
Contributor

C0rby commented May 22, 2020

I think there have been some changes to the tests. I see that the test user is now "Alice" and not "user0".

@phil-davis
Copy link
Contributor

I think there have been some changes to the tests. I see that the test user is now "Alice" and not "user0".

In core the acceptance test features were change to use "realistic" user names. In theory there should be no problem! I suspect that the most likely problem might be if a system-under-test behaves differently to ownCloud10 when the username is mixed-case.

@PVince81
Copy link
Contributor Author

I tried reverting to the commit before the name changes, but the test still fails

@PVince81
Copy link
Contributor Author

In my local log I saw errors about invalid Depth header values that were used in the tests.

Since cs3org/reva#758 those values are forbidden.

I'll have a look and fix all the tests that use an invalid depth value to use infinity instead

@PVince81
Copy link
Contributor Author

Confirmed: when I sit on the commit before the Depth validation, the test passes.

@PVince81
Copy link
Contributor Author

PR here to fix invalid depth values and pre-validate: owncloud/core#37437

@PVince81
Copy link
Contributor Author

and adjusted the drone config to test against that PR

@PVince81
Copy link
Contributor Author

failures now:

/srv/app/testrunner/tests/acceptance/features/apiAuthOcs/ocsGETAuth.feature:99
/srv/app/testrunner/tests/acceptance/features/apiShareCreateSpecial2/createShareWithInvalidPermissions.feature:64
/srv/app/testrunner/tests/acceptance/features/apiShareCreateSpecial2/createShareWithInvalidPermissions.feature:101
/srv/app/testrunner/tests/acceptance/features/apiShareCreateSpecial2/createShareWithInvalidPermissions.feature:103
/srv/app/testrunner/tests/acceptance/features/apiShareManagementBasic/createShare.feature:92
/srv/app/testrunner/tests/acceptance/features/apiShareManagementBasic/createShare.feature:95
/srv/app/testrunner/tests/acceptance/features/apiShareManagementBasic/createShare.feature:98
/srv/app/testrunner/tests/acceptance/features/apiShareManagementBasic/createShare.feature:101
/srv/app/testrunner/tests/acceptance/features/apiShareManagementBasic/createShare.feature:131
/srv/app/testrunner/tests/acceptance/features/apiShareManagementBasic/createShare.feature:240

at least no more checksum, etc.

next up: to test with owncloud/core#37396 as well

@PVince81
Copy link
Contributor Author

PVince81 commented May 22, 2020

pushed again drone change using the core branch "tests-valid-depth-and-shares-update" which contains both the Depth fixes and the sharing ones

@PVince81
Copy link
Contributor Author

ok, so once we merge both owncloud/core#37396 and owncloud/core#37437 there are still remaining failures:

    /srv/app/testrunner/tests/acceptance/features/apiShareManagementBasic/createShare.feature:56
    /srv/app/testrunner/tests/acceptance/features/apiShareManagementBasic/createShare.feature:57
    /srv/app/testrunner/tests/acceptance/features/apiShareManagementBasic/createShare.feature:59
    /srv/app/testrunner/tests/acceptance/features/apiShareManagementBasic/createShare.feature:60
    /srv/app/testrunner/tests/acceptance/features/apiShareManagementBasic/createShare.feature:62
    /srv/app/testrunner/tests/acceptance/features/apiShareManagementBasic/createShare.feature:63
    /srv/app/testrunner/tests/acceptance/features/apiShareManagementBasic/createShare.feature:65
    /srv/app/testrunner/tests/acceptance/features/apiShareManagementBasic/createShare.feature:66

there likely for @C0rby to check ^

@dpakach
Copy link
Contributor

dpakach commented May 22, 2020

@PVince81 phoenix ui tests have passed in #223, please review and rebase on that

@PVince81
Copy link
Contributor Author

I've merged #223 but will rebase later once at least owncloud/core#37396 is merged.

for the remaining failing API tests from #221 (comment) we can either debug them or skip them

@C0rby
Copy link
Contributor

C0rby commented May 22, 2020

ok, so once we merge both owncloud/core#37396 and owncloud/core#37437 there are still remaining failures:

    /srv/app/testrunner/tests/acceptance/features/apiShareManagementBasic/createShare.feature:56
    /srv/app/testrunner/tests/acceptance/features/apiShareManagementBasic/createShare.feature:57
    /srv/app/testrunner/tests/acceptance/features/apiShareManagementBasic/createShare.feature:59
    /srv/app/testrunner/tests/acceptance/features/apiShareManagementBasic/createShare.feature:60
    /srv/app/testrunner/tests/acceptance/features/apiShareManagementBasic/createShare.feature:62
    /srv/app/testrunner/tests/acceptance/features/apiShareManagementBasic/createShare.feature:63
    /srv/app/testrunner/tests/acceptance/features/apiShareManagementBasic/createShare.feature:65
    /srv/app/testrunner/tests/acceptance/features/apiShareManagementBasic/createShare.feature:66

there likely for @C0rby to check ^

I can't reproduce that locally. They are running green on my machine....

@PVince81
Copy link
Contributor Author

ok owncloud/core#37437 is merged.

@C0rby can you rebase owncloud/core#37396 ?

@PVince81 PVince81 force-pushed the update-ocis-reva-for-sharing-fixes branch from 515e950 to f5def32 Compare May 22, 2020 13:29
@PVince81
Copy link
Contributor Author

I've rebased this PR, and pointed it again at owncloud/core#37396

@C0rby
Copy link
Contributor

C0rby commented May 22, 2020

ok owncloud/core#37437 is merged.

@C0rby can you rebase owncloud/core#37396 ?

Done

@PVince81
Copy link
Contributor Author

I've restarted the build now, we should get results. I suspect we will only see those createShare issues. We'll see.

@PVince81
Copy link
Contributor Author

No more Phoenix failures.
Remaining failures as before on the mixed branch:

     /srv/app/testrunner/tests/acceptance/features/apiShareManagementBasic/createShare.feature:56
     /srv/app/testrunner/tests/acceptance/features/apiShareManagementBasic/createShare.feature:57
     /srv/app/testrunner/tests/acceptance/features/apiShareManagementBasic/createShare.feature:59
     /srv/app/testrunner/tests/acceptance/features/apiShareManagementBasic/createShare.feature:60
     /srv/app/testrunner/tests/acceptance/features/apiShareManagementBasic/createShare.feature:62
     /srv/app/testrunner/tests/acceptance/features/apiShareManagementBasic/createShare.feature:63
     /srv/app/testrunner/tests/acceptance/features/apiShareManagementBasic/createShare.feature:65
     /srv/app/testrunner/tests/acceptance/features/apiShareManagementBasic/createShare.feature:66

@PVince81
Copy link
Contributor Author

those tests pass locally for me as well... hmmm

@PVince81
Copy link
Contributor Author

ok got it, it's the "missing mimetype value" again.

see #67 (comment)

I think we should fix the Drone env to actually have a proper /etc/mime.types folder.
Might need to apt-get some extra package on those images ?

@individual-it @dpakach

@PVince81
Copy link
Contributor Author

I believe the dockers are based on Alpine, so it should be a matter of installing "mailcap", see https://pkgs.alpinelinux.org/contents?file=mime.types&path=&name=mailcap&branch=edge&repo=main&arch=armhf

@PVince81
Copy link
Contributor Author

naive attempt in this separate PR to add mime.types file in Drone: #224

Copy link
Contributor

@C0rby C0rby left a comment

Choose a reason for hiding this comment

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

Nice. 👍

@PVince81
Copy link
Contributor Author

@C0rby can you undraft owncloud/core#37396 and I hope @individual-it can review/approve it, then we should merge both at the same time

@PVince81
Copy link
Contributor Author

PVince81 commented May 25, 2020

right, not merging at the same time. here is the correct plan:

@PVince81 PVince81 marked this pull request as draft May 25, 2020 08:15
@PVince81 PVince81 force-pushed the update-ocis-reva-for-sharing-fixes branch from 208aa4a to b035292 Compare May 25, 2020 08:46
@PVince81
Copy link
Contributor Author

rebased and made the branch point back to core master.

@PVince81 PVince81 marked this pull request as ready for review May 25, 2020 08:53
@PVince81 PVince81 merged commit 2be681b into master May 25, 2020
@delete-merged-branch delete-merged-branch bot deleted the update-ocis-reva-for-sharing-fixes branch May 25, 2020 09:23
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants