#775 The curious case of the missing badges
Opened a year ago by sayaksarkar. Modified 4 months ago

A few days back I was going through the badges issues list to check the status of an issue that I was working on when I stumbled across #772. This led me to do a bit of digging around to see if there were other "missing" badges.

After going through a substantial list of badges and user profiles I found a bunch of discrepancies in the list of awarded badges. In my case alone (FAS: sayaksarkar) I discovered that I was missing the following badges:-
1. Baby-Badger - https://badges.fedoraproject.org/badge/baby-badger
2. White Rabbit - https://badges.fedoraproject.org/badge/white-rabbit
3. Tadpole With Legs (FAS Account Lifecycle-IV) - https://badges.fedoraproject.org/badge/tadpole-with-legs
4. Origin - https://badges.fedoraproject.org/badge/origin
5. Crypto Panda - https://badges.fedoraproject.org/badge/crypto-panda

After a bit more digging around it seems that for some reason the cron jobs at https://pagure.io/fedora-infra/ansible/blob/master/f/roles/badges/backend/files/cron/ aren't able to complete a full cycle of iteration through a list of all fas accounts. I suspect that the scripts might be timing out or being killed prior to completing a complete iteration due to which a lot of people with usernames starting with r, s, t,...,z might be not receiving the badges. Although I might be wrong here, in which case someone much more experienced with badges can take a look at what's going on.

Also, is there any mechanism for retro-claiming past badges? For example, I came across the following event badges during which I was present and eligible for the badges, however, didn't receive the badges:-
1. FUDCon2015, Pune Attendee - https://badges.fedoraproject.org/badge/fudcon-pune-2015-attendee
2. FUDCon2015, Pune Volunteer - https://badges.fedoraproject.org/badge/fudcon-pune-2015-volunteer - I was a volunteer and was a part of the organizing team.


Also, is there any mechanism for retro-claiming past badges? For example, I came across the following event badges during which I was present and eligible for the badges, however, didn't receive the badges:-
1. Devconf.cz 2020 - https://badges.fedoraproject.org/badge/devconf.cz-2020-attendee - I was also a speaker at the event.
2. FUDCon2015, Pune Attendee - https://badges.fedoraproject.org/badge/fudcon-pune-2015-attendee
3. FUDCon2015, Pune Volunteer - https://badges.fedoraproject.org/badge/fudcon-pune-2015-volunteer - I was a volunteer and was a part of the organizing team.

I am a newbie and I did receive a couple of badges two weeks back, but since two days I haven't been receiving any :( no wonder, because my username starts with r :cry:

@climoiselle That's great! Please coordinate and follow up with the CPE team as I'm guessing that they would be able to shed the most light on how to work on this issue.

Metadata Update from @riecatnor:
- Custom field artwork adjusted to None
- Custom field concept_review_passed adjusted to None
- Issue assigned to climoiselle
- Issue tagged with: bug

a year ago

@sayaksarkar Sorry, apparently I'll not be able to work on this issue as something else came up right now.

No Worries @climoiselle , I'll be working on it, Did you find something that can be of help for me ?

Thank you @nasirhm. No nothing so far!

@climoiselle No worries!
@nasirhm I tried to debug the issue with inputs from @nb and what we realized is that in the case of some badges the scripts are timing out or being killed prior to completing a complete iteration due to which a lot of people with usernames starting with r, s, t,...,z aren't receiving the badges. This is especially true for the cron jobs at https://pagure.io/fedora-infra/ansible/blob/master/f/roles/badges/backend/files/cron/

Metadata Update from @riecatnor:
- Assignee reset

a year ago

@sayaksarkar Thank you for the information, another thing that i find is these badges are related to FAS integration (and as far as I know, It seems to be broken currently),

Except for macron-1, To receive it you need to make sure for someone to provide you a cookie on IRC.

I wonder if it'll be a good idea to fix them currently, as we have active efforts currently going on for FAS-replacement and Badgr (for backend) replacement ?

It does needs some further investigation on CRON side of things. (/me is working on it)

Metadata Update from @nasirhm:
- Issue assigned to nasirhm

a year ago

Hey @nasirhm did you get any time to look at the crons?

Hey friends, some advance on this? Me too I'm getting some missing badges...

Me too... I missing theses badges:

  • timezone
  • locale or country
  • CLA/FPCA
  • Security question
  • Internationalization/Translation member
  • Libravatar
  • Calendar event
  • SSH Key
  • Ask Fedora first comment
  • Koji first build
  • Chocolate Chip (Cookie II)
  • Participate of IRC meeting

Mostly FAS related badges

Fábio

I can manually push these, should I do that? Or should we get it fixed? @nb what do you think?

@computerkid I think what was determined earlier that these badges are missing due to a mix of two issues: 1. Issues with the badges cron jobs and 2. Communication issues in between fedmsg fas accounts and other systems. (https://pagure.io/fedora-infrastructure/issue/7919 is also marked as wont fix).
As such, I think it might be a long while before these issues are fixed. Can you for now simply reward the badges manually?

@computerkid @nb Any updates regarding this issue? Is it possible to push these badges manually?

The FAS related badges should probably be marked "retired" or something, at least until Noggin is set up to publish Fedmsg. I think the award-lifecycle-badges script and award-oldschool-badges and a few other scripts also need to be updated to talk to the FASJSON API instead of FAS.

That being said, @computerkid if you want to go ahead and award people the badges, I don't have any objection.

Hey @computerkid Thank you so much. I have received all the badges apart from the last one listed, i.e. https://badges.fedoraproject.org/badge/fudcon-pune-2015-volunteer badge (I was a volunteer from the Red Hat organizing team).
Can you please also push this one?

Regards,
Sayak

@computerkid there's also one other badge that I just realized that I have not yet received and that is the CoreOS Test Day Badge (https://badges.fedoraproject.org/badge/fedora-33-coreos-test-day). @sumantrom can attest to my participation in the test day. Also, it can be verified by searching for my FAS (sayaksarkar) at https://testdays.fedoraproject.org/events/98.

@computerkid there's also one other badge that I just realized that I have not yet received and that is the CoreOS Test Day Badge (https://badges.fedoraproject.org/badge/fedora-33-coreos-test-day). @sumantrom can attest to my participation in the test day. Also, it can be verified by searching for my FAS (sayaksarkar) at https://testdays.fedoraproject.org/events/98.

+1 I do attest to sayak's participation. @computerkid It will be awesome if you can push or we need to talk to @dustymabe who in the first place made it.

@computerkid Maybe something went wrong here. I just checked and can confirm that I haven't received these two badges yet:
1. FUDCon Pune: https://badges.fedoraproject.org/badge/fudcon-pune-2015-volunteer
2. CoreOS Test Day: https://badges.fedoraproject.org/badge/fedora-33-coreos-test-day

The CoreOS test day badge shows that you last awarded the badge to yourself but there isn't any record or the badge being awarded to me for either of these. Can you please check?

@computerkid sent the @sayaksarkar badges manually, but the issue remains open. You need to work automated, in the worst case a cron job

Getting the FAS ones working really needs to be a ticket for noggin, since I don't believe noggin is currently publishing fedmsg messages for anything.

I am missing the following badges that I believe I am eligible for:

"Take this and call me in the morning" - https://badges.fedoraproject.org/badge/take-this-and-call-me-in-the-morning
"Long Life to Pagure (Pagure I)" - https://badges.fedoraproject.org/badge/long-life-to-pagure-pagure-i
"White Rabbit" - https://badges.fedoraproject.org/badge/white-rabbit
"Baby Badger" - https://badges.fedoraproject.org/badge/baby-badger
"Paranoid Panda" - https://badges.fedoraproject.org/badge/paranoid-panda
"You can pry it from my cold, dead hands" - https://badges.fedoraproject.org/badge/you-can-pry-it-from-my-cold%2C-dead-hands
"It still works!" - https://badges.fedoraproject.org/badge/it-still-works%21
"Missed the Train" - https://badges.fedoraproject.org/badge/missed-the-train

Side note, I don't think the following badges are even possible in the current iteration of FAS:

"origin" - https://badges.fedoraproject.org/badge/origin
"Riddle Me This" - https://badges.fedoraproject.org/badge/riddle-me-this

@computerkid Going through @t3rm1n4l 's comment I just realized that I am also missing the "Riddle Me This" - https://badges.fedoraproject.org/badge/riddle-me-this badge.

Would it be possible for you to push this one as well for me?

@computerkid Going through @t3rm1n4l 's comment I just realized that I am also missing the "Riddle Me This" - https://badges.fedoraproject.org/badge/riddle-me-this badge.

Would it be possible for you to push this one as well for me?

I don't know about manual pushing

Duplicated

created #824 with the details from my comment above re: missing badges.

Login to comment on this ticket.

Metadata