[
https://issues.apache.org/jira/browse/CASSANDRA-7712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14174262#comment-14174262
]
Michael Shuler edited comment on CASSANDRA-7712 at 10/16/14 9:27 PM:
---------------------------------------------------------------------
cassandra-2.0 ant test = BUILD SUCCESSFUL - I do still have a good number of
unit test related /tmp/ data dirs and files:
{noformat}
mshuler@hana:~$ diff utest-prerun-tmp-ls.txt utest-postrun-tmp-ls.txt | grep '>'
> total 13124
> drwxrwxrwt 43 root root 1089536 Oct 16 16:25 .
> drwxr-xr-x 2 mshuler mshuler 4096 Oct 16 15:59 1413493171580-0
> drwxr-xr-x 3 mshuler mshuler 4096 Oct 16 15:59 1413493171699-0
> drwxr-xr-x 3 mshuler mshuler 4096 Oct 16 15:59 1413493193793-0
> drwxr-xr-x 3 mshuler mshuler 4096 Oct 16 16:05
> Keyspace11151002594308015529Counter1
> drwxr-xr-x 3 mshuler mshuler 4096 Oct 16 16:05
> Keyspace11599882418925729405Standard1
> drwxr-xr-x 3 mshuler mshuler 4096 Oct 16 16:04
> Keyspace11629141255351575538Counter1
> drwxr-xr-x 3 mshuler mshuler 4096 Oct 16 16:05
> Keyspace11707160731940439205Standard1
> drwxr-xr-x 3 mshuler mshuler 4096 Oct 16 16:05
> Keyspace12479573729045096761Counter1
> drwxr-xr-x 3 mshuler mshuler 4096 Oct 16 16:05
> Keyspace13188027533114189105Standard1
> drwxr-xr-x 3 mshuler mshuler 4096 Oct 16 16:05
> Keyspace13537085006164740065Super4
> drwxr-xr-x 3 mshuler mshuler 4096 Oct 16 16:05
> Keyspace13552747847152420085Standard1
> drwxr-xr-x 3 mshuler mshuler 4096 Oct 16 16:05
> Keyspace13765397797228357038Standard1
> drwxr-xr-x 3 mshuler mshuler 4096 Oct 16 16:05
> Keyspace13850859261864741561ValuesWithQuotes
> drwxr-xr-x 3 mshuler mshuler 4096 Oct 16 16:05
> Keyspace13958837569092782804Standard1
> drwxr-xr-x 3 mshuler mshuler 4096 Oct 16 16:05
> Keyspace14244544246771294094Super4
> drwxr-xr-x 3 mshuler mshuler 4096 Oct 16 16:04
> Keyspace14896282513423138739Counter1
> drwxr-xr-x 3 mshuler mshuler 4096 Oct 16 16:05
> Keyspace16033616767223568836Standard1
> drwxr-xr-x 3 mshuler mshuler 4096 Oct 16 16:05
> Keyspace17379306356946300363Standard1
> drwxr-xr-x 3 mshuler mshuler 4096 Oct 16 16:04
> Keyspace17392859057498785197Counter1
> drwxr-xr-x 3 mshuler mshuler 4096 Oct 16 16:05
> Keyspace17734442112141636779UUIDKeys
> drwxr-xr-x 3 mshuler mshuler 4096 Oct 16 16:05
> Keyspace18327561120308012372Standard1
> drwxr-xr-x 2 mshuler mshuler 4096 Oct 16 16:06 hsperfdata_mshuler
> -rw-r--r-- 1 mshuler mshuler 97 Oct 16 16:05
> CFWithColumnNameEqualToDefaultKeyAlias1352052296559090082.json
> -rw-r--r-- 1 mshuler mshuler 202 Oct 16 16:05
> CFWithDeletionInfo6821352692246723039.json
> -rw-r--r-- 1 mshuler mshuler 164 Oct 16 16:05
> Counter16133384777473446457.json
> -rw-r--r-- 1 mshuler mshuler 73 Oct 16 16:05
> Standard13497963750024141166.json
> -rw-r--r-- 1 mshuler mshuler 212 Oct 16 16:05
> Standard16498036137584406114.json
> -rw-r--r-- 1 mshuler mshuler 18 Oct 16 16:05
> Standard17653206436081170668.txt
> -rw-r--r-- 1 mshuler mshuler 72 Oct 16 16:05
> ValuesWithQuotes5950169076917583577.json
> -rw-r--r-- 1 mshuler mshuler 0 Oct 16 16:04
> cassandra3334695142197245525unittest
> -rw-r--r-- 1 mshuler mshuler 0 Oct 16 16:04
> cassandra501609141610521005unittest
> -rw-r--r-- 1 mshuler mshuler 0 Oct 16 16:04
> cassandra5466512109259350063unittest
> -rw-r--r-- 1 mshuler mshuler 0 Oct 16 16:04
> cassandra6680141275408996567unittest
> -rw-r--r-- 1 mshuler mshuler 0 Oct 16 16:04
> cassandra8802165868016413651unittest
> -rw-r--r-- 1 mshuler mshuler 2038 Oct 16 16:04
> ks-cf-ib-1-CompressionInfo.db
> -rw-r--r-- 1 mshuler mshuler 7388 Oct 16 16:04 ks-cf-ib-1-Data.db
> -rw-r--r-- 1 mshuler mshuler 163840 Oct 16 16:00
> lengthtest2172098199453929105bin
> -rw-r--r-- 1 mshuler mshuler 65536 Oct 16 16:00
> readtest5611485117038557908bin
> -rw-r--r-- 1 mshuler mshuler 0 Oct 16 16:00
> set_length_during_read_mode615047735510069936bin
> -rw-r--r-- 1 mshuler mshuler 0 Oct 16 16:00
> set_negative_length7812195015686662874bin
> -rwxr-xr-x 1 mshuler mshuler 48432 Oct 16 15:48
> snappy-1.0.5-libsnappyjava.so
{noformat}
was (Author: mshuler):
cassandra-2.0 ant test = BUILD SUCCESSFUL
lgtm!
> temporary files need to be cleaned by unit tests
> ------------------------------------------------
>
> Key: CASSANDRA-7712
> URL: https://issues.apache.org/jira/browse/CASSANDRA-7712
> Project: Cassandra
> Issue Type: Test
> Components: Tests
> Reporter: Michael Shuler
> Priority: Minor
> Labels: bootcamp, lhf
> Fix For: 2.0.11
>
> Attachments: 7712-hung-CliTest_system.log.gz, 7712-v2.txt,
> 7712-v3.txt, CASSANDRA-7712_apache_cassandra_2.0.txt
>
>
> There are many unit test temporary files left behind after test runs. In the
> case of CI servers, I have seen >70,000 files accumulate in /tmp over a
> period of time. Each unit test should make an effort to remove its temporary
> files when the test is completed.
> My current unit test cleanup block:
> {noformat}
> # clean up after unit tests..
> rm -rf /tmp/140*-0 /tmp/CFWith* /tmp/Counter1* /tmp/DescriptorTest*
> /tmp/Keyspace1* \
> /tmp/KeyStreamingTransferTestSpace* /tmp/SSTableExportTest*
> /tmp/SSTableImportTest* \
> /tmp/Standard1* /tmp/Statistics.db* /tmp/StreamingTransferTest*
> /tmp/ValuesWithQuotes* \
> /tmp/cassandra* /tmp/jna-* /tmp/ks-cf-ib-1-* /tmp/lengthtest*
> /tmp/liblz4-java*.so /tmp/readtest* \
> /tmp/set_length_during_read_mode* /tmp/set_negative_length*
> /tmp/snappy-*.so
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)