Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Successes incorrectly flagged as failed #2315

Closed
fedora-copr-github-bot opened this issue Nov 19, 2022 · 1 comment
Closed

Successes incorrectly flagged as failed #2315

fedora-copr-github-bot opened this issue Nov 19, 2022 · 1 comment
Assignees
Labels

Comments

@fedora-copr-github-bot
Copy link
Collaborator

fedora-copr-github-bot commented Nov 19, 2022

Original issue: https://pagure.io/copr/copr/issue/2315
Opened: 2022-09-19 08:54:24
Opened by: iucar

I found this build https://copr.fedorainfracloud.org/coprs/iucar/cran/build/4847872/ (so there may be more) with the rawhide build flagged as "failed", but the build seems ok to me. There's even a success file in the directory.


frostyx commented at 2022-09-19 11:13:50:

Thank you for the report @iucar,

copy-pasting backend.log exception here before it gets deleted

[2022-09-19 08:47:29,880][ ERROR][PID:1942455] Createrepo failed, stderr:
Unexpected exception
Traceback (most recent call last):
  File "/usr/bin/copr-repo", line 453, in main
    main_try_lock(opts, batch)
  File "/usr/bin/copr-repo", line 405, in main_try_lock
    main_locked(opts, batch, opts.log)
  File "/usr/bin/copr-repo", line 333, in main_locked
    (batch_full, batch_add, batch_delete, batch_rpms_to_remove) = batch.options()
  File "/usr/lib/python3.10/site-packages/copr_backend/createrepo.py", line 155, in options
    task_opts = json.loads(task_dict["task"])
KeyError: 'task'
Traceback (most recent call last):
  File "/usr/bin/copr-repo", line 463, in <module>
    sys.exit(main())
  File "/usr/bin/copr-repo", line 453, in main
    main_try_lock(opts, batch)
  File "/usr/bin/copr-repo", line 405, in main_try_lock
    main_locked(opts, batch, opts.log)
  File "/usr/bin/copr-repo", line 333, in main_locked
    (batch_full, batch_add, batch_delete, batch_rpms_to_remove) = batch.options()
  File "/usr/lib/python3.10/site-packages/copr_backend/createrepo.py", line 155, in options
    task_opts = json.loads(task_dict["task"])
KeyError: 'task'
@nikromen nikromen self-assigned this Jul 17, 2023
nikromen added a commit to nikromen/copr that referenced this issue Jul 18, 2023
so if cases like fedora-copr#2315
happens again, we can debug it and see what happenned
@nikromen
Copy link
Member

I can't reproduce this anymore so I'll close this as I can't reproduce. I added better logs in the code so we can debug it better next time in case this will happed again (#2813)

@nikromen nikromen closed this as not planned Won't fix, can't repro, duplicate, stale Jul 18, 2023
praiskup pushed a commit that referenced this issue Jul 19, 2023
so if cases like #2315
happens again, we can debug it and see what happenned
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

No branches or pull requests

2 participants