{"id":15174047,"url":"https://github.com/ncw/parse-actions-logs","last_synced_at":"2026-02-15T06:33:28.696Z","repository":{"id":57641975,"uuid":"259016002","full_name":"ncw/parse-actions-logs","owner":"ncw","description":"Parse GitHub actions logs for go test results","archived":false,"fork":false,"pushed_at":"2020-04-26T11:51:40.000Z","size":6,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-05T11:05:30.605Z","etag":null,"topics":["actions","github-actions","go","golang"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ncw.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-04-26T11:42:32.000Z","updated_at":"2021-12-08T09:51:58.000Z","dependencies_parsed_at":"2022-09-07T08:01:33.275Z","dependency_job_id":null,"html_url":"https://github.com/ncw/parse-actions-logs","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/ncw/parse-actions-logs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ncw%2Fparse-actions-logs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ncw%2Fparse-actions-logs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ncw%2Fparse-actions-logs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ncw%2Fparse-actions-logs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ncw","download_url":"https://codeload.github.com/ncw/parse-actions-logs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ncw%2Fparse-actions-logs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29471941,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-15T05:26:30.465Z","status":"ssl_error","status_checked_at":"2026-02-15T05:26:21.858Z","response_time":118,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["actions","github-actions","go","golang"],"created_at":"2024-09-27T11:23:24.454Z","updated_at":"2026-02-15T06:33:28.678Z","avatar_url":"https://github.com/ncw.png","language":"Go","readme":"# parse-actions-logs\n\nThis is a simple program to parse your GitHub actions logs as produced by `go test` and summarise them.\n\nIt was originally developed to parse [rclone](https://github.com/rclone/rclone)'s GitHub actions logs but it should work for any Go project which outputs the results of `go test` or `go test -v` into its logs.\n\nIt is useful if you have a large project with 1,000s of tests some of which occasionally fail and you would like to get a handle on which ones.\n\n## Install\n\nParse-Actions-Logs is a Go program and comes as a single binary file.\n\nDownload the relevant binary from\n\n- https://github.com/ncw/parse-actions-logs/releases\n\nOr alternatively if you have Go installed use\n\n    go get github.com/ncw/parse-actions-logs\n\nand this will build the binary in `$GOPATH/bin`.\n\n## Usage\n\nUse `parse-actions-logs -h` to see all the options.\n\n```\nUsage: parse-actions-logs [options] \u003clog.zip\u003e+\nVersion: v1.0.0\n\nParse the logs fetched from GitHub actions. These logs should be the\nzip files downloaded for a complete workflow run.\n\nThey can be downloaded by https://github.com/ncw/fetch-actions-logs or\nby downloading from the web UI.\n\nExample usage:\n\nparse-actions-logs logs.zip  logs2.zip\n\nFull options:\n  -o string\n    \tOutput directory (default \"output\")\n```\n\nThe recommended way of getting logs is to run\n[fetch-actions-logs](https://github.com/ncw/fetch-actions-logs) to get\nthe zip files of logs.\n\nYou can then run this tool against all those logs, eg\n\n```\nfetch-actions-logs -conclusion failure -user ncw rclone/rclone logs\nparse-actions-logs -o output logs/*.zip\n```\n\nThis will produce an output directory something like this. Using `tree` (or `rclone tree`) on the output directory shows at a glance what problems there are.\n\nFor example this shows that\n- There are two occasionally failing tests in `github.com/rclone/rclone/backend/cache`: `TestInternalCachedUpdatedContentMatches` and `TestInternalCachedWrittenContentMatches`\n- There is a race test failure in `github.com/rclone/rclone/cmd/serve/sftp` in `TestSftp/AuthProxy`\n- There is an occasional test failure in `github.com/rclone/rclone/lib/pool` which only goes wrong on macOS `TestPool/canFail/Flusher`\n\n```\n$ tree output/\noutput/\n├── github.com／rclone／rclone／backend／cache\n│   ├── TestInternalCachedUpdatedContentMatches\n│   │   ├── modules_race／10_Race test.txt-35424342.txt\n│   │   └── modules_race／10_Race test.txt-38113485.txt\n│   └── TestInternalCachedWrittenContentMatches\n│       ├── go1.12／9_Run tests.txt-56903814.txt\n│       ├── linux／9_Run tests.txt-38124982.txt\n│       ├── modules_race／9_Run tests.txt-36545442.txt\n│       ├── modules_race／9_Run tests.txt-65412168.txt\n│       └── windows_386／9_Run tests.txt-52206992.txt\n├── github.com／rclone／rclone／cmd／serve／sftp\n│   └── TestSftp／AuthProxy\n│       ├── modules_race／10_Race test.txt-33697335.txt\n│       ├── modules_race／10_Race test.txt-36976335.txt\n│       ├── modules_race／10_Race test.txt-37080974.txt\n│       ├── modules_race／10_Race test.txt-42441438.txt\n│       └── modules_race／10_Race test.txt-50183080.txt\n└── github.com／rclone／rclone／lib／pool\n    └── TestPool／canFail／Flusher\n        ├── mac／10_Race test.txt-44851334.txt\n        ├── mac／10_Race test.txt-56757602.txt\n        ├── mac／10_Race test.txt-59667165.txt\n        ├── mac／10_Race test.txt-65412168.txt\n        └── mac／10_Race test.txt-86043180.txt\n\n```\n\nEach of the files in the output directory is a snip of the relevant log, so\n\n```\n$ cd output/github.com／rclone／rclone／lib／pool/TestPool／canFail／Flusher/\n$ ls -l\ntotal 20\n-rw-rw-r-- 1 ncw ncw 2338 Apr 26 11:46 'mac／10_Race test.txt-44851334.txt'\n-rw-rw-r-- 1 ncw ncw 2338 Apr 26 11:46 'mac／10_Race test.txt-56757602.txt'\n-rw-rw-r-- 1 ncw ncw 2338 Apr 26 11:46 'mac／10_Race test.txt-59667165.txt'\n-rw-rw-r-- 1 ncw ncw 2338 Apr 26 11:46 'mac／10_Race test.txt-65412168.txt'\n-rw-rw-r-- 1 ncw ncw 2338 Apr 26 11:46 'mac／10_Race test.txt-86043180.txt'\n```\n\nAnd\n\n```\n$ cat mac／10_Race\\ test.txt-44851334.txt \n\n2020/02/25 11:20:35 Failed to get memory for buffer, waiting for 1ms: failed to allocate memory\n2020/02/25 11:20:35 Failed to get memory for buffer, waiting for 1ms: failed to allocate memory\n2020/02/25 11:20:35 Failed to free memory: failed to free memory\n2020/02/25 11:20:35 Failed to free memory: failed to free memory\n--- FAIL: TestPool (0.79s)\n    --- FAIL: TestPool/canFail (0.19s)\n        --- FAIL: TestPool/canFail/Flusher (0.16s)\n            pool_test.go:114: \n                \tError Trace:\tpool_test.go:114\n                \t            \t\t\t\tpool_test.go:218\n                \tError:      \tNot equal: \n                \t            \texpected: 0\n                \t            \tactual  : 2\n                \tTest:       \tTestPool/canFail/Flusher\nFAIL\nFAIL\tgithub.com/rclone/rclone/lib/pool\t0.898\n```\n\n## License\n\nThis is free software under the terms of the MIT license (check the\nLICENSE file included in this package).\n\n## Contact and support\n\nThe project website is at:\n\n- https://github.com/ncw/parse-actions-logs\n\nThere you can file bug reports, ask for help or contribute patches.\n\n## Authors\n\n- Nick Craig-Wood \u003cnick@craig-wood.com\u003e\n- Your name goes here!\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fncw%2Fparse-actions-logs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fncw%2Fparse-actions-logs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fncw%2Fparse-actions-logs/lists"}