Beanstalk Longshot test farm
Menu

#1967 WIP: feat(os): HOS_WAKE_LAT also counts the event sleepers that slept more than once

by siantm open Open on Forgejo

Commit

Head
4d2ebc2
Base
main f1f2dc5
Approval
approved futondestroyer, · reviewed

Plan (gpt-6.1-terra)

Smoke-test wake diagnostics in Castle Town Market on Windows and Linux

⚠️ Note: Rows are emitted only for threads with more than 100 completed sleeping waits, so no eligible row makes the expected-line check inconclusive.

⚠️ Note: The farm cannot verify the five-second cadence or compare the repeat count numerically with the sleeper count; the one-minute measurement is stationary after the movement step.

In plain words

On one Windows PC and one Linux PC, the game will run with HOS_WAKE_LAT=1, teleport to Castle Town Market, move, and spend one minute there. The test checks for crashes and an eligible wake log row containing the new numeric count; a missing eligible row is inconclusive. Each PC's runs take about 12 minutes, excluding builds.

Asked for

This touches only the HOS_WAKE_LAT diagnostic (off unless set) in the guest event and queue waits (host/nn_os_sync.c): its wake log lines also say how many event sleepers slept more than once. Nothing is meant to get faster, so no frame-time comparison is asked. It has not run in the game on these PCs yet. Please start the game and play Castle Town Market for one minute with HOS_WAKE_LAT=1, on a Windows PC and on a Linux PC. No crash; the log must have the wake lines every 5 s with their "of them more than once" count.

Raw plan 92 lines Download plan.json

  "pass" 
    "crash" false
    "log_forbidden_hits" 
      "max" 0
    
    "log_expected_missing" 
      "max" 0
    
  
  "probe" 
    
      "kind" "crash"
    
    
      "kind" "log_match"
      "missing" "unjudged"
      "expected" 
        "wake: .+: [0-9]+ ready, [0-9]+ after spinning, [0-9]+ after sleeping, [0-9]+ of them more than once"
      
      "forbidden" 
        "wake: .+: [0-9]+ ready, [0-9]+ after spinning, [0-9]+ after sleeping \\(signal"
      
    
  
  "matrix" 
  "schema" 10
  "target" 
    
      "name" "windows"
      "tags" 
        "windows"
      
      "max_reports" 2
      "min_reports" 1
    
    
      "name" "linux"
      "tags" 
        "linux"
      
      "max_reports" 2
      "min_reports" 1
    
  
  "summary" "Smoke-test wake diagnostics in Castle Town Market on Windows and Linux"
  "baseline" 
    "ref" "main"
  
  "scenario" 
    
      "env" 
        "HOS_WAKE_LAT" "1"
      
      "name" "market-wake"
      "runs" 1
      "step" 
        
          "do" "wait"
          "event" "in_play"
          "timeout_s" 600
        
        
          "do" "teleport"
          "to" "Market_Child"
        
        
          "do" "wait"
          "map" "Market_Child"
          "event" "map"
          "timeout_s" 60
        
        
          "x" 0.0
          "y" 1.0
          "do" "stick"
          "stick" "L"
          "frames" 300
        
        
          "do" "measure"
          "name" "market"
          "warmup_s" 0
          "duration_s" 60
        
      
      "start" "save:kokiri-start"
      "matrix" true
      "settings" 
    
  

Targets

TargetTierReportsStatus
windowsreviewed futondestroyer none yet 0/1 pass, 2 running, 0 queued
linuxreviewed futondestroyer none yet 0/1 pass, 2 running, 0 queued

Reports

No reports yet. Each tester posts one when its job ends.

Jobs

Estimate: done in about 30 min, from the queue and the testers online now.

JobCommitTargetStateTesterStartedAttemptsEstimateNote
jb_30ac6b7ae08e4105 log4d2ebc2linux runningbuild-pr42%42%FusionLord/agent-940fc01 done in about 20 min
jb_3873365b1b799b15 log4d2ebc2windows runningbuild-base10%10%Agrippa/agent-7ad4ff2 done in about 30 minpassing, tried again: prefetch: the agent failed: WinError: SetNamedSecurityInfoW (<game files>: the agent must own the folder, or be let change its permissions): error 5 (0x5, Access is denied)
jb_c22b2ea7f2d321eb log4d2ebc2windows runningbuild-base10%10%Dameningen/agent-1c9aab1 done in about 25 min
jb_ab4e8cfa76f1763f log4d2ebc2linux runningbuild-pr42%42%masterstiker46/sian-gtx10601 done in about 25 min