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

review failing cern tests #21

Closed
jnfrmarks opened this issue Mar 2, 2015 · 14 comments
Closed

review failing cern tests #21

jnfrmarks opened this issue Mar 2, 2015 · 14 comments

Comments

@jnfrmarks
Copy link

The following tests written by cern are failing in the ownCloud environment and need to be researched/resolved:

[x ] test_concurrentDirMove
[x ] test_concurrentOverwriteFile
[x ] test_filenames
[x ] test_nplusone
[x] test_nplustwo
[ ] test_pingpong - Test works
[x ] test_slowwrite
[ x] test_storm
[ x] test_unicodejam
[ ] test_users Test removed - users added as part of all tests

@jnfrmarks
Copy link
Author

test_storm had two issues:

  1. The skeleton files were synced and being added to the number of files created, causing the test to think there were three more files than expected.
  2. The test_storm.py file was incorrectly calculating the filesize property being passed into create_hashfile.

@jnfrmarks jnfrmarks reopened this Mar 11, 2015
@jnfrmarks
Copy link
Author

test_slowwrite and test_concurrentOverwriteFile and test_nplusone have identified a difference in the number of csync_journal.db files created. See owncloud/client#2950.

The list of files to be ignored needed to be updated.

@jnfrmarks
Copy link
Author

test_nplustwo needs to be run with a different property setting for oc_account_reset_procedure. The automated test scripts have been updated.

The test was modified to create the users from a different worker.

@jnfrmarks
Copy link
Author

I've asked for some help from CERN on test_concurrentDirMove:

If I understand the test correctly, the "adder" worker is adding files to a directory "subdir". While that is going one, "mover" renames "subdir" to "subdir2". Both workers then sync. The expectation is that all files created in "subdir" will be in "subdir2". The test is failing because some of the files are still in "subdir". I think that is expected behavior because the mover worker is renaming the directory while the adder worker is in the middle of creating files. Once the directory is moved, any newly created file will be create in the original directory. The test is expecting all files to be in subdir2 and this is not the case.

@jnfrmarks
Copy link
Author

@PVince81
Can you help me out with test_filenames.py and test_unicode? Both are failing but I'm struggling with the code.

Thanks!

@PVince81
Copy link

test_concurrentDirMove is basically this issue owncloud/core#11795

@PVince81
Copy link

test_filenames.py fails on OC 6 too, do we know whether this test has every worked before ?

@PVince81
Copy link

Hmmm but one thing I see is that there are more failing cases on master than there were on OC 6.

@jnfrmarks
Copy link
Author

I don't know the history of this test. It's from CERN.

@PVince81
Copy link

These are failing on stable6, stable7:

2015-03-17 16:35:21,205 - ERROR - creator - some files lost!
2015-03-17 16:35:21,479 - ERROR - creator - some files lost!
2015-03-17 16:35:21,720 - ERROR - creator - some files lost!
2015-03-17 16:35:31,602 - ERROR - propagator - the file has not been propagated: ' '
2015-03-17 16:35:31,602 - ERROR - propagator - the file has not been propagated: '_chr126_4testfile.dat~'
2015-03-17 16:35:31,603 - ERROR - propagator - the file has not been propagated: '._chr46_6.testfile...dat.'
2015-03-17 16:35:31,603 - ERROR - propagator - the file has not been propagated: '_chr126_5testfile.~dat'
2015-03-17 16:35:31,603 - ERROR - propagator - the file has not been propagated: '._chr46_3testfile..dat'
2015-03-17 16:35:31,603 - ERROR - propagator - the file has not been propagated: '~_chr126_6~testfile~.~dat~'
2015-03-17 16:35:31,603 - ERROR - propagator - the file has not been propagated: '~'
2015-03-17 16:35:32,606 - ERROR - propagator - 7 error(s) reported
2015-03-17 16:35:32,609 - ERROR - creator - 3 error(s) reported

Not sure why.
On master there's more, so I'll try and find out why, maybe to reduce it back to what it was before.

@PVince81
Copy link

Raised a ticket in core to look into them (I also posted the results there): owncloud/core#14964

@PVince81
Copy link

This will reduce the test errors back to the number it had in stable8: owncloud/core#14994
And this removes the expected excluded file names: #36

Next up: looking at test_unicodejam

@PVince81
Copy link

Solve the fatal error in test_unicodejam output: #37

I have the feeling that this test never worked before, and it seems many unicode chars get mangled already (not a regression but something that never worked in the first place)

@jnfrmarks
Copy link
Author

Looks like we've assessed all tests. I'll close this and open issues for any specific failures that need to be addressed.

nickvergessen pushed a commit that referenced this issue Jun 19, 2015
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

No branches or pull requests

2 participants