#2315 Successes incorrectly flagged as failed
Closed: MIGRATED 2 years ago by nikromen. Opened 2 years ago 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.


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'

Metadata Update from @praiskup:
- Issue tagged with: bug

2 years ago

Metadata Update from @nikromen:
- Issue close_status updated to: MIGRATED
- Issue status updated to: Closed (was: Open)

2 years ago

Log in to comment on this ticket.

Metadata