Engine Testing
Revision as of 08:38, 13 October 2021 by GoogleFrog (talk | contribs)
Steps to test the engine
- Host a Custom room and set a password.
- Check https://github.com/beyond-all-reason/spring/releases for the most recent version.
- Look at the most recent release.
- Type '!engine X' where X is the part after {BAR105}. At the time of writing X is '105.1.1-475-gd112b9e'.
- If Nightwatch says 'Engine changed to X' then the engine was set successfully. See the heading below if it fails.
- Optional: Remove the password with '!password'.
- Not Optional: Do not change the game mode from Custom, this will reset the engine to default.
- WARNING skirmish AIs other than 'AI: Legacy' will not work as they need rebuilding for each engine.
- Have people join the game, screw around in the lobby, etc.
- Reassure everyone that it is fine if nothing appears to happen for many minutes when you start the game.
- Start the game.
- Wait for the engine to silently download in the background.
- Have the game start, spend a while caching, and exit because you took minutes to connect.
- Go back to the lobby, wait for everyone to indicate that they have completed the previous two steps.
- Start the game - for real this time (or maybe the second last time, because now you have to do the first-time ZK launch cache).
- Note any weirdness, bugs, or performance issues on the battle thread or elsewhere.
- Have everyone else in the room do the above.
- Repeat
What if Step 5 Fails?
Two options:
- Ask GoogleFrog to load the desired release into the server.
- Try a release further down the list.
Debug data:
[SQLBagOStuff] MainObjectStash using store ReplicatedBagOStuff
[objectcache] MainWANObjectCache using store EmptyBagOStuff
IP: 18.219.28.179
Start request GET /mediawiki/index.php?direction=prev&oldid=7962&title=Engine_Testing
HTTP HEADERS:
CONTENT-TYPE:
CONTENT-LENGTH: 0
USER-AGENT: Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HOST: zero-k.info
ACCEPT-ENCODING: gzip, br, zstd, deflate
ACCEPT: */*
CONNECTION: close[localisation] LocalisationCache: using store LCStoreDB
[session] SessionManager using store SqlBagOStuff
[DBReplication] Cannot use ChronologyProtector with EmptyBagOStuff
[DBReplication] Wikimedia\Rdbms\LBFactory::getChronologyProtector: request info {
"IPAddress": "18.219.28.179",
"UserAgent": "Mozilla\/5.0 AppleWebKit\/537.36 (KHTML, like Gecko; compatible; ClaudeBot\/1.0; +claudebot@anthropic.com)",
"ChronologyProtection": false,
"ChronologyPositionIndex": 0,
"ChronologyClientId": false
}[DBConnection] Wikimedia\Rdbms\LoadBalancer::lazyLoadReplicationPositions: executed chronology callback.
[DBConnection] Wikimedia\Rdbms\LoadBalancer::getLocalConnection: connected to database 0 at 'localhost'.
[SQLBagOStuff] Connection mysql object #127 (handle id #121) will be used for SqlBagOStuff
[session] SessionBackend "v1t5qt8og5g2v3ton9c6vfcdbp59vi3c" is unsaved, marking dirty in constructor
[session] SessionBackend "v1t5qt8og5g2v3ton9c6vfcdbp59vi3c" save: dataDirty=1 metaDirty=1 forcePersist=0
[cookie] already deleted setcookie: "wikidb229_mw__session", "", "1710133509", "/", "", "", "1"
[cookie] already deleted setcookie: "wikidb229_mw_UserID", "", "1710133509", "/", "", "", "1"
[cookie] already deleted setcookie: "wikidb229_mw_Token", "", "1710133509", "/", "", "", "1"
[cookie] already deleted setcookie: "forceHTTPS", "", "1710133509", "/", "", "", "1"
[DBConnection] Wikimedia\Rdbms\LoadBalancer::getLocalConnection: connected to database 0 at 'localhost'.
Title::getRestrictionTypes: applicable restrictions to [[Engine Testing]] are {edit,move}
[ContentHandler] Created handler for wikitext: WikitextContentHandler
[MessageCache] MessageCache using store SqlBagOStuff
[SQLBagOStuff] Connection mysql object #127 (handle id #121) will be used for SqlBagOStuff
[SQLBagOStuff] Connection mysql object #127 (handle id #121) will be used for SqlBagOStuff
[SQLBagOStuff] Connection mysql object #127 (handle id #121) will be used for SqlBagOStuff
[SQLBagOStuff] Connection mysql object #127 (handle id #121) will be used for SqlBagOStuff
[SQLBagOStuff] SqlBagOStuff::lock failed due to timeout for wikidb229-mw_:messages:en.
[SQLBagOStuff] Connection mysql object #127 (handle id #121) will be used for SqlBagOStuff
[SQLBagOStuff] Connection mysql object #127 (handle id #121) will be used for SqlBagOStuff
[MessageCache] MessageCache::load: Loading en... local cache is empty, global cache is expired/volatile, loading from database
ParserFactory: using preprocessor: Preprocessor_Hash
Unstubbing $wgLang on call of $wgLang::_unstub from ParserOptions->__construct
[caches] parser: SqlBagOStuff
Article::view using parser cache: no
Article::view: doing uncached parse
[SQLBagOStuff] Connection mysql object #127 (handle id #121) will be used for SqlBagOStuff
[SQLBagOStuff] Connection mysql object #127 (handle id #121) will be used for SqlBagOStuff
Parser cache options found.
[Preprocessor] Cached preprocessor output (key: wikidb229-mw_:preprocess-hash:7146c0ccfdb7b472982fbfe70a7884e7:0)
[Preprocessor] Cached preprocessor output (key: wikidb229-mw_:preprocess-hash:7146c0ccfdb7b472982fbfe70a7884e7:0)
MediaWiki::preOutputCommit: primary transaction round committed
MediaWiki::preOutputCommit: pre-send deferred updates completed
MediaWiki::preOutputCommit: session changes committed
MediaWiki::preOutputCommit: LBFactory shutdown completed
Title::getRestrictionTypes: applicable restrictions to [[Engine Testing]] are {edit,move}