{"action":"created","issue":{"url":"https://api.github.com/repos/dmwm/WMCore/issues/5486","repository_url":"https://api.github.com/repos/dmwm/WMCore","labels_url":"https://api.github.com/repos/dmwm/WMCore/issues/5486/labels{/name}","comments_url":"https://api.github.com/repos/dmwm/WMCore/issues/5486/comments","events_url":"https://api.github.com/repos/dmwm/WMCore/issues/5486/events","html_url":"https://github.com/dmwm/WMCore/issues/5486","id":49946101,"number":5486,"title":"reqmgr_workload_cache db and wmstats reporting wrong # events","user":{"login":"amaltaro","id":1798520,"avatar_url":"https://avatars.githubusercontent.com/u/1798520?v=3","gravatar_id":"","url":"https://api.github.com/users/amaltaro","html_url":"https://github.com/amaltaro","followers_url":"https://api.github.com/users/amaltaro/followers","following_url":"https://api.github.com/users/amaltaro/following{/other_user}","gists_url":"https://api.github.com/users/amaltaro/gists{/gist_id}","starred_url":"https://api.github.com/users/amaltaro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amaltaro/subscriptions","organizations_url":"https://api.github.com/users/amaltaro/orgs","repos_url":"https://api.github.com/users/amaltaro/repos","events_url":"https://api.github.com/users/amaltaro/events{/privacy}","received_events_url":"https://api.github.com/users/amaltaro/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dmwm/WMCore/labels/Bug","name":"Bug","color":"0b02e1"},{"url":"https://api.github.com/repos/dmwm/WMCore/labels/High%20Priority","name":"High Priority","color":"e10c02"}],"state":"open","locked":false,"assignee":{"login":"ticoann","id":1247993,"avatar_url":"https://avatars.githubusercontent.com/u/1247993?v=3","gravatar_id":"","url":"https://api.github.com/users/ticoann","html_url":"https://github.com/ticoann","followers_url":"https://api.github.com/users/ticoann/followers","following_url":"https://api.github.com/users/ticoann/following{/other_user}","gists_url":"https://api.github.com/users/ticoann/gists{/gist_id}","starred_url":"https://api.github.com/users/ticoann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ticoann/subscriptions","organizations_url":"https://api.github.com/users/ticoann/orgs","repos_url":"https://api.github.com/users/ticoann/repos","events_url":"https://api.github.com/users/ticoann/events{/privacy}","received_events_url":"https://api.github.com/users/ticoann/received_events","type":"User","site_admin":false},"assignees":[{"login":"ticoann","id":1247993,"avatar_url":"https://avatars.githubusercontent.com/u/1247993?v=3","gravatar_id":"","url":"https://api.github.com/users/ticoann","html_url":"https://github.com/ticoann","followers_url":"https://api.github.com/users/ticoann/followers","following_url":"https://api.github.com/users/ticoann/following{/other_user}","gists_url":"https://api.github.com/users/ticoann/gists{/gist_id}","starred_url":"https://api.github.com/users/ticoann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ticoann/subscriptions","organizations_url":"https://api.github.com/users/ticoann/orgs","repos_url":"https://api.github.com/users/ticoann/repos","events_url":"https://api.github.com/users/ticoann/events{/privacy}","received_events_url":"https://api.github.com/users/ticoann/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/dmwm/WMCore/milestones/119","html_url":"https://github.com/dmwm/WMCore/milestones/WMAgent1512","labels_url":"https://api.github.com/repos/dmwm/WMCore/milestones/119/labels","id":1245709,"number":119,"title":"WMAgent1512","description":"","creator":{"login":"ticoann","id":1247993,"avatar_url":"https://avatars.githubusercontent.com/u/1247993?v=3","gravatar_id":"","url":"https://api.github.com/users/ticoann","html_url":"https://github.com/ticoann","followers_url":"https://api.github.com/users/ticoann/followers","following_url":"https://api.github.com/users/ticoann/following{/other_user}","gists_url":"https://api.github.com/users/ticoann/gists{/gist_id}","starred_url":"https://api.github.com/users/ticoann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ticoann/subscriptions","organizations_url":"https://api.github.com/users/ticoann/orgs","repos_url":"https://api.github.com/users/ticoann/repos","events_url":"https://api.github.com/users/ticoann/events{/privacy}","received_events_url":"https://api.github.com/users/ticoann/received_events","type":"User","site_admin":false},"open_issues":25,"closed_issues":38,"state":"open","created_at":"2015-08-07T15:48:22Z","updated_at":"2016-07-04T14:45:00Z","due_on":"2015-12-31T06:00:00Z","closed_at":null},"comments":18,"created_at":"2014-11-24T21:40:41Z","updated_at":"2016-08-12T21:44:42Z","closed_at":null,"body":"It looks like reqmgr_workload_cache db documents sometimes report an incorrect number of TotalInputEvents, TotalInputLumis and I guess also TotalEstimatedJobs, as can be seen in this example:\r\nhttps://cmsweb.cern.ch/couchdb/reqmgr_workload_cache/pdmvserv_TRK-TP2023HGCALGS-00001_00001_v0__141113_160840_557\r\n\r\nI've seen this in testbed already but I guess I did not manage to easily reproduce it.\r\nTaking a quick look at the code, it seems it's coming from here:\r\nhttps://github.com/dmwm/WMCore/blob/master/src/couchapps/ReqMgr/updates/totalstats.js#L17\r\n\r\nbut to be honest, I have no idea where/what \"req.query.input_events\" goes here."},"comment":{"url":"https://api.github.com/repos/dmwm/WMCore/issues/comments/239567346","html_url":"https://github.com/dmwm/WMCore/issues/5486#issuecomment-239567346","issue_url":"https://api.github.com/repos/dmwm/WMCore/issues/5486","id":239567346,"user":{"login":"amaltaro","id":1798520,"avatar_url":"https://avatars.githubusercontent.com/u/1798520?v=3","gravatar_id":"","url":"https://api.github.com/users/amaltaro","html_url":"https://github.com/amaltaro","followers_url":"https://api.github.com/users/amaltaro/followers","following_url":"https://api.github.com/users/amaltaro/following{/other_user}","gists_url":"https://api.github.com/users/amaltaro/gists{/gist_id}","starred_url":"https://api.github.com/users/amaltaro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amaltaro/subscriptions","organizations_url":"https://api.github.com/users/amaltaro/orgs","repos_url":"https://api.github.com/users/amaltaro/repos","events_url":"https://api.github.com/users/amaltaro/events{/privacy}","received_events_url":"https://api.github.com/users/amaltaro/received_events","type":"User","site_admin":false},"created_at":"2016-08-12T21:44:42Z","updated_at":"2016-08-12T21:44:42Z","body":"Try assigning to `mc` team, there are no agents available but team exist."}}
{"actor":{"display_login":"amaltaro"}}