-
Notifications
You must be signed in to change notification settings - Fork 205
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
Cut the test result directory shorter when its length is more than 255 #2307
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please change your commit log - that you fixed a ticket is mostly obvious. Just explain your solution
Codecov Report
@@ Coverage Diff @@
## master #2307 +/- ##
===========================================
- Coverage 83.59% 29.51% -54.08%
===========================================
Files 165 117 -48
Lines 10788 7538 -3250
===========================================
- Hits 9018 2225 -6793
- Misses 1770 5313 +3543
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #2307 +/- ##
==========================================
+ Coverage 86.04% 86.04% +<.01%
==========================================
Files 168 168
Lines 10883 10884 +1
==========================================
+ Hits 9364 9365 +1
Misses 1519 1519
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have you actually tried to clone and run https://openqa.suse.de/tests/3300015? Because I'm not sure whether the limit of 255 is only for the directory name or for the entire path. If the limit is for the entire path it won't work to truncate only the result directory name.
the directory entry is limited to 256 chars, the full path to 4096 - so we should be good |
I have not tried to clone this job. I did test which just like it. Here is http://10.161.8.44/tests/575 This is the test result after I modified the code. |
commit 5c2b878 Merge: 94a2b98 7b67a5f Author: Oliver Kurz <okurz@suse.de> AuthorDate: Thu Sep 5 07:41:27 2019 +0200 Commit: GitHub <noreply@github.com> CommitDate: Thu Sep 5 07:41:27 2019 +0200 Merge pull request #2307 from Amrysliu/fix_56405 Cut the test result directory shorter when its length is more than 255
The job will fail when the length of the test result directory is more than 255. Because there is a limit in creating directory that the directory name length cannot exceed 255.
See: https://progress.opensuse.org/issues/56405