labyrinth icon indicating copy to clipboard operation
labyrinth copied to clipboard

Repo deep dive action is failing

Open ahouseholder opened this issue 2 years ago • 2 comments

See for example https://github.com/CERTCC/labyrinth/actions/runs/6536547242

Prepare all required actions
Run ./.github/actions/deep_dive
Run repo_deep_dive --verbose --mod 5 --divisor 10 --results_dir results/[2](https://github.com/CERTCC/labyrinth/actions/runs/6536547242/job/17749913960#step:7:2)023/10/15 --max_age 7200
INFO root - log level: INFO
INFO labyrinth.repo_processor - Reading 1 search result summaries
INFO labyrinth.repo_processor - Found 13 search results to process
INFO labyrinth.repo_processor - Cloning https://github.com/ExploitRc3/ExploitRc3.git 1 of 13
INFO labyrinth.repo_processor - Cloning https://github.com/codingcore12/Extremely-Silent-JPG-Exploit-NEW-nk.git 2 of 13
INFO labyrinth.repo_processor - Cloning https://github.com/PrasoonPratham/Simple-XSS-exploit-example.git 3 of 13
INFO labyrinth.repo_processor - Cloning https://github.com/Pyr0sec/CVE-2023-38646.git 4 of 13
INFO labyrinth.file_processor - Found 1 matches in 1 out of 3 files
INFO labyrinth.repo_processor - Cloning https://github.com/iotwar/AntiQbot.git 5 of 13
INFO labyrinth.repo_processor - Cloning https://github.com/Latrodect/EATER-offensive-security-frameowork.git 6 of 13
INFO labyrinth.repo_processor - Cloning https://github.com/Anthony-T-N/CTF-Binary-Exploitation.git 7 of 13
Traceback (most recent call last):
  File "/opt/hostedtoolcache/Python/3.9.18/x64/bin/repo_deep_dive", line 66, in <module>
    process_modulo(args.results_dir, args.mod, args.divisor)
  File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/labyrinth/repo_processor.py", line [28](https://github.com/CERTCC/labyrinth/actions/runs/6536547242/job/17749913960#step:7:30)5, in process_modulo
    df = scan_repos(top_dir, mod, divisor)
  File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/labyrinth/repo_processor.py", line 2[32](https://github.com/CERTCC/labyrinth/actions/runs/6536547242/job/17749913960#step:7:34), in scan_repos
    results = df.apply(process_row, axis=1).to_list()
  File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/pandas/core/frame.py", line 10037, in apply
    return op.apply().__finalize__(self, method="apply")
  File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/pandas/core/apply.py", line 837, in apply
    return self.apply_standard()
  File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/pandas/core/apply.py", line 963, in apply_standard
    results, res_index = self.apply_series_generator()
  File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/pandas/core/apply.py", line 979, in apply_series_generator
    results[i] = self.func(v, *self.args, **self.kwargs)
  File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/labyrinth/repo_processor.py", line 1[36](https://github.com/CERTCC/labyrinth/actions/runs/6536547242/job/17749913960#step:7:38), in process_row
    gh_has_newer = _check_repo_newer(ts, repo_name)
  File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/labyrinth/repo_processor.py", line 77, in _check_repo_newer
    if m_ts < repo.pushed_at:
TypeError: can't compare offset-naive and offset-aware datetimes
Error: Process completed with exit code 1.

ahouseholder avatar Oct 16 '23 19:10 ahouseholder

Waiting for scheduled run to see if it's fixed.

Check for runs >8210 on https://github.com/CERTCC/labyrinth/actions/workflows/repo_search.yml

ahouseholder avatar Oct 18 '23 14:10 ahouseholder

Check https://github.com/CERTCC/labyrinth/actions/runs/6578349678 and close if success

ahouseholder avatar Oct 19 '23 17:10 ahouseholder

This has succeeded since then, so it's safe to conclude it's fixed.

ahouseholder avatar May 15 '24 20:05 ahouseholder