This happened on dev/stg on October 28th:
Traceback (most recent call last): File "/root/fetch_activity.py", line 106, in <module> output = main(opts.resultsdb_url, opts.frontend_url, time_span) File "/root/fetch_activity.py", line 56, in main output += "%s: %d (%d %% failed)\n" % (check, together[check], int(round((failed_types[check] * 100.0) / together[check]))) KeyError: u'depcheck'
On Nov 3 this happened on all our servers.
I will go through the code and investigate it. It is possibly caused by some item added to one of the dictionaries and not into the other.
Similarly, from yesterday:
Traceback (most recent call last): File "/root/fetch_activity.py", line 106, in <module> output = main(opts.resultsdb_url, opts.frontend_url, time_span) File "/root/fetch_activity.py", line 56, in main output += "%s: %d (%d %% failed)\n" % (check, together[check], int(round((failed_types[check] * 100.0) / together[check]))) KeyError: u'upgradepath'
Ok, fix should be in ansible-playbooks repo, in #368-fetch_keyerror branch here https://bitbucket.org/fedoraqa/ansible-playbooks/commits/e68ec19760c726b193ec8c710da2ec633e0612c2?at=master
#368-fetch_keyerror
Deployed to dev for testing.
It seems that it works on dev, please deploy it to other machines.
Deployed to stg and prod.
Metadata Update from @mkrizek: - Issue tagged with: infrastructure