Skip to content

Cant get correct csv file  #67

@Nuc7ear

Description

@Nuc7ear

when use
./cloud-report1 analyze -d cloudDetails/cc.json
i get error:
2021/10/04 18:00:55 analyze.go:374: Analyzing report-data/20211004/gce/pd-ssd/logs/n2-standard-4/coremark-results.20211004.11:33:27/success
Error: error parsing "" in report-data/20211004/gce/pd-ssd/logs/n2-standard-4/coremark-results.20211004.11:33:27/single-0.log: strconv.ParseFloat: parsing "": invalid syntax
Usage:
cloud-report analyze [flags]

Flags:
-h, --help help for analyze

Global Flags:
-d, --cloud-details JSON path(s) to JSON file containing cloud specific configuration.
-o, --output-dir string directory to emit results and scripts (default "./report-data")
-r, --report-version string subdirectory for cloud report data (default "20211004")

error parsing "" in report-data/20211004/gce/pd-ssd/logs/n2-standard-4/coremark-results.20211004.11:33:27/single-0.log: strconv.ParseFloat: parsing "": invalid syntax

When delete success file, i get nothing, only clear csv files.
strace for command ./cloud-report1 analyze -d cloudDetails/cc.json

[pid 204326] newfstatat(AT_FDCWD, "report-data/20211004/results/gce", {st_mode=S_IFDIR|0775, st_size=4096, ...}, 0) = 0
[pid 204326] openat(AT_FDCWD, "report-data/20211004/results/gce/cpu.csv", O_RDWR|O_CREAT|O_TRUNC|O_CLOEXEC, 0644) = 3
[pid 204326] epoll_ctl(4, EPOLL_CTL_ADD, 3, {EPOLLIN|EPOLLOUT|EPOLLRDHUP|EPOLLET, {u32=3624763416, u64=140118342860824}}) = -1 EPERM (Operation not permitted)
[pid 204326] epoll_ctl(4, EPOLL_CTL_DEL, 3, 0xc0000f96bc) = -1 EPERM (Operation not permitted)
[pid 204326] write(3, "Cloud,Date,MachineType,Cores,Sin"..., 53) = 53
[pid 204326] close(3) = 0
[pid 204326] exit_group(0) = ?
[pid 204329] <... futex resumed>) = 231
[pid 204328] <... futex resumed>) = ?
[pid 204330] <... futex resumed>) = ?
[pid 204331] <... futex resumed>) = ?
[pid 204327] <... nanosleep resumed> <unfinished ...>) = ?
[pid 204331] +++ exited with 0 +++
[pid 204330] +++ exited with 0 +++
[pid 204329] +++ exited with 0 +++
[pid 204328] +++ exited with 0 +++
[pid 204327] +++ exited with 0 +++
+++ exited with 0 +++

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions