hashar added a comment.

From https://integration.wikimedia.org/ci/job/quibble-vendor-mysql-php70-docker/5475/artifact/log/mw-debug-www.log The lines come from the debug log and are prefixed with `\WebRequest::getRequestId().

A request to [Special:Preferences] made with a normal user:

9ff423f9588856afc173a0f3 Start request POST /index.php/Special:Preferences
COOKIE: wikidb_session=0js640qarj8b7c710hboopll3d99jo9l; wikidbUserID=4; wikidbUserName=User-0.8234154921968517; UseDC=master; UseCDNCache=false

The Echo selenium tests login as WikiAdmin and get wikidb_session=aj3k23n:

5fcb626ee9b60ab1fee4d5aa Start request POST /index.php/Special:UserLogin
COOKIE: wikidb_session=aj3k23nvas9kr06rc5tkvdjmfhhmcc3o
5fcb626ee9b60ab1fee4d5aa [session] SessionBackend "aj3k23nvas9kr06rc5tkvdjmfhhmcc3o" save: dataDirty=1 metaDirty=0 forcePersist=0
5fcb626ee9b60ab1fee4d5aa [authentication] Login for WikiAdmin succeeded
5fcb626ee9b60ab1fee4d5aa [session] SessionBackend "9pigdd14olusqg2e7l87t1im0hked385" save: dataDirty=1 metaDirty=1 forcePersist=0
5fcb626ee9b60ab1fee4d5aa [cookie] setcookie: "wikidb_session", "9pigdd14olusqg2e7l87t1im0hked385", "0", "/", "", "", "1"

After that the Special:Preferences request is not completed yet and run a delayed cirrusSearchLinksUpdatePrioritized job:

9ff423f9588856afc173a0f3 [runJobs] cirrusSearchLinksUpdatePrioritized 0.09196885017085155-öäü-♠♣♥♦
9ff423f9588856afc173a0f3 [session] Session "aj3k23nvas9kr06rc5tkvdjmfhhmcc3o" requested without UserID cookie
9ff423f9588856afc173a0f3 [session] SessionBackend "aj3k23nvas9kr06rc5tkvdjmfhhmcc3o" is unsaved, marking dirty in constructor
9ff423f9588856afc173a0f3 [session] SessionBackend "tj1mk3ilbvisjlh5hbblvrkhnpu7vq2m" metadata dirty due to ID reset (formerly "aj3k23nvas9kr06rc5tkvdjmfhhmcc3o")
9ff423f9588856afc173a0f3 [session] SessionBackend "tj1mk3ilbvisjlh5hbblvrkhnpu7vq2m" save: dataDirty=1 metaDirty=1 forcePersist=0
9ff423f9588856afc173a0f3 [cookie] setcookie: "wikidb_session", "tj1mk3ilbvisjlh5hbblvrkhnpu7vq2m", "0", "/", "", "", "1"

Note that:

  • the request was for a normal user but the browser meanwhile logged in as Wikiadmin
  • the session from UserLogin is marked as unsaved
  • a new cookie being set: wikidb_session=tj1mk3il.

The Echo test managed to login successfully and get redirected to the Main_Page. The browser then attempt to use the cookie tj1mk3 from Special:Preferences.

53d637019fc7ce5de29ea4e4 Start request GET /index.php/Main_Page
COOKIE: wikidbUserName=WikiAdmin; UseDC=master; UseCDNCache=false; wikidb_session=tj1mk3ilbvisjlh5hbblvrkhnpu7vq2m
53d637019fc7ce5de29ea4e4 [session] CentralAuthSessionProvider::provideSessionInfo: Not enabled, falling back to core sessions
53d637019fc7ce5de29ea4e4 [session] Session "tj1mk3ilbvisjlh5hbblvrkhnpu7vq2m" requested without UserID cookie

It is not logged in.


TASK DETAIL
https://phabricator.wikimedia.org/T191537

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: zeljkofilipin, hashar
Cc: gerritbot, Anomie, hashar, Jakob_WMDE, Addshore, Pablo-WMDE, WMDE-leszek, Aklapper, zeljkofilipin, Versusxo, Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Lahi, Gq86, Baloch007, Darkminds3113, Bsandipan, Lordiis, GoranSMilovanovic, Maosef, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, QZanden, LawExplorer, Lewizho99, Maathavan, Debenben, Liudvikas, Luke081515, thcipriani, Wikidata-bugs, aude, fredw, Physikerwelt, Pkra, Darkdadaah, scfc, Mbch331, Jay8g, greg
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to