Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-7164

[windows] cbcollect is generating some tmp files that are not deleted after cbcollect execution

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: 2.1.0
    • Component/s: tools
    • Security Level: Public
    • Labels:
      None
    • Environment:

      Description

      tmp files are not deleted, when cbcollect doesn't succeed:

      Administrator@WIN-5IC1JB7LHUB /cygdrive/c/tmp
      $ ls -all
      total 12689875
      drwxr-x--- 1 Administrator None 32768 2012-11-09 09:06 .
      drwxr-x--- 1 Administrator None 12288 2012-11-09 06:52 ..
      drwxr-x--- 1 Administrator None 0 2012-01-25 17:25 backup
      rwxr-x-- 1 Administrator None 3993088 2012-06-20 17:49 gdb.exe
      rw-r---- 1 Administrator None 264 2012-11-09 07:16 tmp0_agsc
      rw-r---- 1 Administrator None 208793845 2012-11-09 08:43 tmp1nr3xg
      rw-r---- 1 Administrator None 208793839 2012-11-09 08:43 tmp2scp8e
      rw-r---- 1 Administrator None 821601 2012-11-09 08:44 tmp3vcxzr
      rw-r---- 1 Administrator None 208625464 2012-11-09 08:22 tmp4kktpw
      rw-r---- 1 Administrator None 208793841 2012-11-09 08:44 tmp5fcnaf
      rw-r---- 1 Administrator None 208966150 2012-11-09 09:06 tmp5lwvwr
      rw-r---- 1 Administrator None 208629102 2012-11-09 08:22 tmp5ocwef
      rw-r---- 1 Administrator None 208459139 2012-11-09 08:00 tmp5spvzd
      rw-r---- 1 Administrator None 208966138 2012-11-09 09:06 tmp83sfik
      rw-r---- 1 Administrator None 208966138 2012-11-09 09:06 tmp8oaefi
      rw-r---- 1 Administrator None 821551 2012-11-09 08:00 tmpa_lvfc
      rw-r---- 1 Administrator None 208625458 2012-11-09 08:22 tmpacyiqo
      rw-r---- 1 Administrator None 208294016 2012-11-09 07:38 tmpadn6yv
      rw-r---- 1 Administrator None 208123181 2012-11-09 07:17 tmpahpkq5
      rw-r---- 1 Administrator None 208459127 2012-11-09 08:00 tmpam3ft4
      rw-r---- 1 Administrator None 208625458 2012-11-09 08:21 tmpastkgu
      rw-r---- 1 Administrator None 208459131 2012-11-09 08:00 tmpb5dlia
      rw-r---- 1 Administrator None 208123163 2012-11-09 07:16 tmpb6aygs
      rw-r---- 1 Administrator None 208629090 2012-11-09 08:22 tmpbbujzi
      rw-r---- 1 Administrator None 208962506 2012-11-09 09:05 tmpbc199f
      rw-r---- 1 Administrator None 264 2012-11-09 08:21 tmpbohc0c
      rw-r---- 1 Administrator None 174280 2012-11-09 08:43 tmpcvln3r
      rw-r---- 1 Administrator None 208294014 2012-11-09 07:38 tmpdbvqau
      rw-r---- 1 Administrator None 208966160 2012-11-09 09:06 tmpdireho
      rw-r---- 1 Administrator None 821423 2012-11-09 07:17 tmpdwq_z3
      rw-r---- 1 Administrator None 208962506 2012-11-09 09:06 tmpdzadmv
      rw-r---- 1 Administrator None 208294028 2012-11-09 07:38 tmpf1ydn4
      rw-r---- 1 Administrator None 208294010 2012-11-09 07:38 tmpfngbw0
      rw-r---- 1 Administrator None 208962512 2012-11-09 09:06 tmpfqic6w
      rw-r---- 1 Administrator None 208123157 2012-11-09 07:16 tmpfrlo8m
      rw-r---- 1 Administrator None 208962508 2012-11-09 09:06 tmpgaqiwa
      rw-r---- 1 Administrator None 208459125 2012-11-09 08:00 tmpgb5lkf
      rw-r---- 1 Administrator None 174280 2012-11-09 08:21 tmpgmtbzj
      rw-r---- 1 Administrator None 208625460 2012-11-09 08:22 tmph6kou4
      rw-r---- 1 Administrator None 208793853 2012-11-09 08:43 tmphhtwzl
      rw-r---- 1 Administrator None 264 2012-11-09 08:00 tmphndnqu
      rw-r---- 1 Administrator None 208455507 2012-11-09 08:00 tmphpapxf
      rw-r---- 1 Administrator None 208123159 2012-11-09 07:17 tmphq6qck
      rw-r---- 1 Administrator None 208459127 2012-11-09 08:00 tmpi_l5uu
      rw-r---- 1 Administrator None 821572 2012-11-09 07:39 tmpilwwmc
      rw-r---- 1 Administrator None 208459127 2012-11-09 08:00 tmpjekxtk
      rw-r---- 1 Administrator None 208294016 2012-11-09 07:38 tmpjka5ji
      rw-r---- 1 Administrator None 174295 2012-11-09 07:16 tmpkg1f3j
      rw-r---- 1 Administrator None 208962502 2012-11-09 09:05 tmpkhc042
      rw-r---- 1 Administrator None 208123157 2012-11-09 07:16 tmpl8i0qg
      rw-r---- 1 Administrator None 208294016 2012-11-09 07:38 tmpleeynh
      rw-r---- 1 Administrator None 208629090 2012-11-09 08:22 tmpmcqocr
      rw-r---- 1 Administrator None 208629112 2012-11-09 08:22 tmpn94gt2
      rw-r---- 1 Administrator None 174280 2012-11-09 07:38 tmpnfmke_
      rw-r---- 1 Administrator None 208294020 2012-11-09 07:38 tmpoa89nw
      rw-r---- 1 Administrator None 208123171 2012-11-09 07:16 tmpoit9ln
      rw-r---- 1 Administrator None 208793841 2012-11-09 08:43 tmpppw80f
      rw-r---- 1 Administrator None 208294014 2012-11-09 07:38 tmpqatwen
      rw-r---- 1 Administrator None 264 2012-11-09 07:38 tmpqd_sxp
      rw-r---- 1 Administrator None 208459149 2012-11-09 08:00 tmpqhlhpe
      rw-r---- 1 Administrator None 208793835 2012-11-09 08:43 tmprhcofi
      rw-r---- 1 Administrator None 174280 2012-11-09 08:00 tmps3op7c
      rw-r---- 1 Administrator None 821587 2012-11-09 08:22 tmpskznm1
      rw-r---- 1 Administrator None 208123153 2012-11-09 07:16 tmpsvrlnb
      rw-r---- 1 Administrator None 174280 2012-11-09 09:05 tmpt8o89h
      rw-r---- 1 Administrator None 264 2012-11-09 08:43 tmptjhxjz
      rw-r---- 1 Administrator None 208793839 2012-11-09 08:43 tmpuue7jz
      rw-r---- 1 Administrator None 208793841 2012-11-09 08:43 tmpuuflvd
      rw-r---- 1 Administrator None 208123159 2012-11-09 07:16 tmpv26p5y
      rw-r---- 1 Administrator None 264 2012-11-09 09:05 tmpvhsnsq
      rw-r---- 1 Administrator None 208123159 2012-11-09 07:16 tmpvoxm8u
      rw-r---- 1 Administrator None 208455511 2012-11-09 08:00 tmpvvop64
      rw-r---- 1 Administrator None 208625454 2012-11-09 08:21 tmpx5agn4
      rw-r---- 1 Administrator None 208294038 2012-11-09 07:38 tmpxa3r2l
      rw-r---- 1 Administrator None 208793863 2012-11-09 08:44 tmpxqkyxa
      rw-r---- 1 Administrator None 821585 2012-11-09 09:06 tmpyfndri

      Files contains partial logs (cbbrowse_logs info, memcached stats all, etc)

      Error in cbcollect_info was:
      [2012-11-09 08:15:37,804] - [remote_util:1118] INFO - running command.raw /cygdrive/c/Program\ Files/Couchbase/Server/bin/cbcollect_info.exe 10.3.3.38-1192012-diag.zip
      [2012-11-09 08:18:47,386] - [remote_util:1147] INFO - command executed successfully
      [2012-11-09 08:18:47,388] - [remote_util:1097] ERROR - escript: Failed to open file: cbdump-config
      [2012-11-09 08:18:47,388] - [remote_util:1097] ERROR - escript: Failed to open file: cbdump-config
      [2012-11-09 08:18:47,388] - [remote_util:1097] ERROR - escript: Failed to open file: cbdump-config
      [2012-11-09 08:18:47,388] - [remote_util:1097] ERROR - System information (systeminfo) - OK
      [2012-11-09 08:18:47,388] - [remote_util:1097] ERROR - Computer system (wmic computersystem) - OK
      [2012-11-09 08:18:47,389] - [remote_util:1097] ERROR - Computer OS (wmic os) - OK
      [2012-11-09 08:18:47,389] - [remote_util:1097] ERROR - Database directory structure (['dir', '/s', '']) - OK
      [2012-11-09 08:18:47,389] - [remote_util:1097] ERROR - Service list (wmic service where state="running" GET caption, name, state) - OK
      [2012-11-09 08:18:47,389] - [remote_util:1097] ERROR - Process list (wmic process) - OK
      [2012-11-09 08:18:47,390] - [remote_util:1097] ERROR - Swap settings (wmic pagefile) - OK
      [2012-11-09 08:18:47,390] - [remote_util:1097] ERROR - Disk partition (wmic partition) - OK
      [2012-11-09 08:18:47,390] - [remote_util:1097] ERROR - Disk volumes (wmic volume) - OK
      [2012-11-09 08:18:47,391] - [remote_util:1097] ERROR - Network configuration (ipconfig /all) - OK
      [2012-11-09 08:18:47,391] - [remote_util:1097] ERROR - Taking sample 2 after 10.000000 seconds -
      [2012-11-09 08:18:47,392] - [remote_util:1097] ERROR - OK
      [2012-11-09 08:18:47,392] - [remote_util:1097] ERROR - Network status (netstat -an) - OK
      [2012-11-09 08:18:47,392] - [remote_util:1097] ERROR - Network routing table (netstat -rn) - OK
      [2012-11-09 08:18:47,393] - [remote_util:1097] ERROR - Arp cache (arp -a) - OK
      [2012-11-09 08:18:47,393] - [remote_util:1097] ERROR - Network Interface Controller (wmic nic) - OK
      [2012-11-09 08:18:47,393] - [remote_util:1097] ERROR - Network Adapter (wmic nicconfig) - OK
      [2012-11-09 08:18:47,393] - [remote_util:1097] ERROR - Active network connection (wmic netuse) - OK
      [2012-11-09 08:18:47,394] - [remote_util:1097] ERROR - Protocols (wmic netprotocol) - OK
      [2012-11-09 08:18:47,394] - [remote_util:1097] ERROR - Cache memory (wmic memcache) - OK
      [2012-11-09 08:18:47,394] - [remote_util:1097] ERROR - Physical memory (wmic memphysical) - OK
      [2012-11-09 08:18:47,394] - [remote_util:1097] ERROR - Physical memory chip info (wmic memorychip) - OK
      [2012-11-09 08:18:47,395] - [remote_util:1097] ERROR - Local storage devices (wmic logicaldisk) - OK
      [2012-11-09 08:18:47,395] - [remote_util:1097] ERROR - Version file (type C:\Program Files\Couchbase\Server\bin\..\VERSION.txt) - Exit code 1
      [2012-11-09 08:18:47,395] - [remote_util:1097] ERROR - Manifest file (type C:\Program Files\Couchbase\Server\bin\..\manifest.txt) - Exit code 1
      [2012-11-09 08:18:47,395] - [remote_util:1097] ERROR - Manifest file (type C:\Program Files\Couchbase\Server\bin\..\manifest.xml) - Exit code 1
      [2012-11-09 08:18:47,395] - [remote_util:1097] ERROR - Couchbase config (C:\Program Files\Couchbase\Server\bin\erlang\bin\escript.exe C:\Program Files\Couchbase\Server\bin\cbdump-config C:\Program Files\Couchbase\Server\bin\..\var\lib\couchbase\config\config.dat) - Exit code 1
      [2012-11-09 08:18:47,396] - [remote_util:1097] ERROR - Memcached logs (type C:\Program Files\Couchbase\Server\bin\..\var\lib\couchbase\logs\memcached.log.*) - Exit code 1
      [2012-11-09 08:18:47,396] - [remote_util:1097] ERROR - couchbase logs (debug) (cbbrowse_logs) - OK
      [2012-11-09 08:18:47,396] - [remote_util:1097] ERROR - couchbase logs (info) (cbbrowse_logs info) - OK
      [2012-11-09 08:18:47,396] - [remote_util:1097] ERROR - couchbase logs (error) (cbbrowse_logs error) - OK
      [2012-11-09 08:18:47,396] - [remote_util:1097] ERROR - couchbase logs (couchdb) (cbbrowse_logs couchdb) - OK
      [2012-11-09 08:18:47,397] - [remote_util:1097] ERROR - couchbase logs (xdcr) (cbbrowse_logs xdcr) - OK
      [2012-11-09 08:18:47,397] - [remote_util:1097] ERROR - couchbase logs (xdcr_errors) (cbbrowse_logs xdcr_errors) - OK
      [2012-11-09 08:18:47,397] - [remote_util:1097] ERROR - couchbase logs (views) (cbbrowse_logs views) - OK
      [2012-11-09 08:18:47,397] - [remote_util:1097] ERROR - couchbase logs (mapreduce errors) (cbbrowse_logs mapreduce_errors) - OK
      [2012-11-09 08:18:47,397] - [remote_util:1097] ERROR - couchbase logs (stats) (cbbrowse_logs stats) - OK
      [2012-11-09 08:18:47,398] - [remote_util:1097] ERROR - memcached stats all (cbstats -a 127.0.0.1:11210 all -b _admin -p _admin) - Exit code 255
      [2012-11-09 08:18:47,398] - [remote_util:1097] ERROR - memcached stats checkpoint (cbstats -a 127.0.0.1:11210 checkpoint -b _admin -p _admin) - Exit code 255
      [2012-11-09 08:18:47,398] - [remote_util:1097] ERROR - memcached stats dispatcher (cbstats -a 127.0.0.1:11210 dispatcher logs -b _admin -p _admin) - Exit code 255
      [2012-11-09 08:18:47,398] - [remote_util:1097] ERROR - memcached stats hash (cbstats -a 127.0.0.1:11210 hash detail -b _admin -p _admin) - Exit code 255
      [2012-11-09 08:18:47,399] - [remote_util:1097] ERROR - memcached stats tap (cbstats -a 127.0.0.1:11210 tap -b _admin -p _admin) - Exit code 255
      [2012-11-09 08:18:47,399] - [remote_util:1097] ERROR - memcached stats tapagg (cbstats -a 127.0.0.1:11210 tapagg -b _admin -p _admin) - Exit code 255
      [2012-11-09 08:18:47,399] - [remote_util:1097] ERROR - memcached stats timings (cbstats -a 127.0.0.1:11210 timings -b _admin -p _admin) - Exit code 255
      [2012-11-09 08:18:47,399] - [remote_util:1097] ERROR - memcached memory stats (cbstats -a 127.0.0.1:11210 raw memory -b _admin -p _admin) - Exit code 255
      [2012-11-09 08:18:47,400] - [remote_util:1097] ERROR - memcached allocator stats (cbstats -a 127.0.0.1:11210 raw allocator -b _admin -p _admin) - Exit code 255

      No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

        Hide
        steve Steve Yen added a comment -

        to 2.0.2 per bug-scrub

        Show
        steve Steve Yen added a comment - to 2.0.2 per bug-scrub
        Hide
        bcui Bin Cui added a comment -

        This is the same bug as MB-7428. Since it will be fixed in 2.0.1, mark it as duplicate here.

        Show
        bcui Bin Cui added a comment - This is the same bug as MB-7428 . Since it will be fixed in 2.0.1, mark it as duplicate here.
        Hide
        maria Maria McDuff (Inactive) added a comment -
        Show
        maria Maria McDuff (Inactive) added a comment - MB-7428 .

          People

          • Assignee:
            bcui Bin Cui
            Reporter:
            iryna iryna
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes