{
  "_class" : "hudson.matrix.MatrixBuild",
  "actions" : [
    {
      "_class" : "hudson.model.CauseAction",
      "causes" : [
        {
          "_class" : "hudson.triggers.SCMTrigger$SCMTriggerCause",
          "shortDescription" : "Started by an SCM change"
        }
      ]
    },
    {
      
    },
    {
      "_class" : "hudson.model.ParametersAction",
      "parameters" : [
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "BRANCH",
          "value" : "master"
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "EMAIL_NOTIFICATIONS",
          "value" : "jenkins-notifications@lists.osmocom.org laforge@gnumonks.org"
        }
      ]
    },
    {
      "_class" : "jenkins.metrics.impl.TimeInQueueAction",
      "blockedDurationMillis" : 0,
      "blockedTimeMillis" : 0,
      "buildableDurationMillis" : 0,
      "buildableTimeMillis" : 0,
      "buildingDurationMillis" : 229970,
      "executingTimeMillis" : 229970,
      "executorUtilization" : 1.0,
      "subTaskCount" : 0,
      "waitingDurationMillis" : 6625,
      "waitingTimeMillis" : 6625
    },
    {
      
    },
    {
      "_class" : "hudson.plugins.git.util.BuildData",
      "buildsByBranchName" : {
        "origin/master" : {
          "_class" : "hudson.plugins.git.util.Build",
          "buildNumber" : 11397,
          "buildResult" : None,
          "marked" : {
            "SHA1" : "4c6324213ac87f9979df7e6d0f596f175ddb27f6",
            "branch" : [
              {
                "SHA1" : "4c6324213ac87f9979df7e6d0f596f175ddb27f6",
                "name" : "origin/master"
              }
            ]
          },
          "revision" : {
            "SHA1" : "4c6324213ac87f9979df7e6d0f596f175ddb27f6",
            "branch" : [
              {
                "SHA1" : "4c6324213ac87f9979df7e6d0f596f175ddb27f6",
                "name" : "origin/master"
              }
            ]
          }
        },
        "refs/remotes/origin/osmith/wip" : {
          "_class" : "hudson.plugins.git.util.Build",
          "buildNumber" : 11003,
          "buildResult" : None,
          "marked" : {
            "SHA1" : "7db79cc39a265a6838206df836d1bee28be1acee",
            "branch" : [
              {
                "SHA1" : "7db79cc39a265a6838206df836d1bee28be1acee",
                "name" : "refs/remotes/origin/osmith/wip"
              }
            ]
          },
          "revision" : {
            "SHA1" : "7db79cc39a265a6838206df836d1bee28be1acee",
            "branch" : [
              {
                "SHA1" : "7db79cc39a265a6838206df836d1bee28be1acee",
                "name" : "refs/remotes/origin/osmith/wip"
              }
            ]
          }
        },
        "refs/remotes/origin/master" : {
          "_class" : "hudson.plugins.git.util.Build",
          "buildNumber" : 7614,
          "buildResult" : None,
          "marked" : {
            "SHA1" : "73773447715c57075ad5acb96a5346ff23d7e91f",
            "branch" : [
              {
                "SHA1" : "73773447715c57075ad5acb96a5346ff23d7e91f",
                "name" : "refs/remotes/origin/master"
              }
            ]
          },
          "revision" : {
            "SHA1" : "73773447715c57075ad5acb96a5346ff23d7e91f",
            "branch" : [
              {
                "SHA1" : "73773447715c57075ad5acb96a5346ff23d7e91f",
                "name" : "refs/remotes/origin/master"
              }
            ]
          }
        }
      },
      "lastBuiltRevision" : {
        "SHA1" : "4c6324213ac87f9979df7e6d0f596f175ddb27f6",
        "branch" : [
          {
            "SHA1" : "4c6324213ac87f9979df7e6d0f596f175ddb27f6",
            "name" : "origin/master"
          }
        ]
      },
      "remoteUrls" : [
        "https://gerrit.osmocom.org/osmo-bts"
      ],
      "scmName" : ""
    },
    {
      
    },
    {
      
    },
    {
      "_class" : "org.jenkinsci.plugins.displayurlapi.actions.RunDisplayAction"
    }
  ],
  "artifacts" : [
    
  ],
  "building" : False,
  "description" : None,
  "displayName" : "#11397",
  "duration" : 229970,
  "estimatedDuration" : 221221,
  "executor" : None,
  "fullDisplayName" : "master-osmo-bts #11397",
  "id" : "11397",
  "inProgress" : False,
  "keepLog" : False,
  "number" : 11397,
  "queueId" : 75175,
  "result" : "SUCCESS",
  "timestamp" : 1774862887007,
  "url" : "https://jenkins.osmocom.org/jenkins/job/master-osmo-bts/11397/",
  "builtOn" : "",
  "changeSet" : {
    "_class" : "hudson.plugins.git.GitChangeSetList",
    "items" : [
      {
        "_class" : "hudson.plugins.git.GitChangeSet",
        "affectedPaths" : [
          "src/osmo-bts-trx/sched_lchan_xcch.c"
        ],
        "commitId" : "796965d72b96ca6a9e40848a8b3397fa01d9883d",
        "timestamp" : 1774606183000,
        "author" : {
          "absoluteUrl" : "https://jenkins.osmocom.org/jenkins/user/fixeria",
          "fullName" : "Vadim Yanitskiy"
        },
        "authorEmail" : "vyanitskiy@sysmocom.de",
        "comment" : "osmo-bts-trx: rx_data_fn(): fix copy-paste in comment\u000a\u000aChange-Id: Ibf35c468310a690fd873cf968bb2c44b493ca5ea\u000a",
        "date" : "2026-03-27 17:09:43 +0700",
        "id" : "796965d72b96ca6a9e40848a8b3397fa01d9883d",
        "msg" : "osmo-bts-trx: rx_data_fn(): fix copy-paste in comment",
        "paths" : [
          {
            "editType" : "edit",
            "file" : "src/osmo-bts-trx/sched_lchan_xcch.c"
          }
        ]
      },
      {
        "_class" : "hudson.plugins.git.GitChangeSet",
        "affectedPaths" : [
          "src/osmo-bts-trx/sched_lchan_rach.c"
        ],
        "commitId" : "a158425c0c586dc7a80d2c076194869a64531e24",
        "timestamp" : 1774606334000,
        "author" : {
          "absoluteUrl" : "https://jenkins.osmocom.org/jenkins/user/fixeria",
          "fullName" : "Vadim Yanitskiy"
        },
        "authorEmail" : "vyanitskiy@sysmocom.de",
        "comment" : "osmo-bts-trx: rx_rach_fn(): remove redundant fall-back\u000a\u000aCondition `synch_seq != RACH_SYNCH_SEQ_TS0` is unlikely to be true,\u000agiven that no other synch. sequences are defined by 3GPP TS 45.002.\u000aEven if this happens for whatever reason (e.g. a bug), assigning\u000a`synch_seq` to `RACH_SYNCH_SEQ_TS0` is not needed, as `synch_seq`\u000ais never read after the switch statement.  The logging message is\u000anot useful either, since we already print the synch. seq. above.\u000a\u000aChange-Id: I4cdc03dc6631ca17d13a3067ad03020e3e97eab1\u000a",
        "date" : "2026-03-27 17:12:14 +0700",
        "id" : "a158425c0c586dc7a80d2c076194869a64531e24",
        "msg" : "osmo-bts-trx: rx_rach_fn(): remove redundant fall-back",
        "paths" : [
          {
            "editType" : "edit",
            "file" : "src/osmo-bts-trx/sched_lchan_rach.c"
          }
        ]
      },
      {
        "_class" : "hudson.plugins.git.GitChangeSet",
        "affectedPaths" : [
          "src/common/tx_power.c",
          "include/osmo-bts/tx_power.h",
          "src/common/bts_shutdown_fsm.c"
        ],
        "commitId" : "4c6324213ac87f9979df7e6d0f596f175ddb27f6",
        "timestamp" : 1774610689000,
        "author" : {
          "absoluteUrl" : "https://jenkins.osmocom.org/jenkins/user/fixeria",
          "fullName" : "Vadim Yanitskiy"
        },
        "authorEmail" : "vyanitskiy@sysmocom.de",
        "comment" : "bts_shutdown_fsm: fix spurious RAMP_COMPL events in WAIT_TRX_CLOSED\u000a\u000aWith multiple TRXes ramping down in lockstep, both their final\u000aramp-timer callbacks fire back-to-back in the same event loop pass,\u000asetting p_total_cur_mdBm to the target value for both before any async\u000ahardware acknowledgement arrives.  When the first SETPOWER ack returns\u000aand fires ramp_down_compl_cb() for TRX0, the remaining-TRX check in\u000ast_wait_ramp_down_compl() inspects p_total_cur_mdBm for TRX1 and finds\u000ait already at the target - concluding that all TRXes are done.  The FSM\u000athen transitions to WAIT_TRX_CLOSED, and the second ack (for TRX1)\u000afires ramp_down_compl_cb() into the wrong state, producing:\u000a\u000a  BTS_SHUTDOWN(...){WAIT_TRX_CLOSED}: Event BTS_SHUTDOWN_EV_TRX_RAMP_COMPL not permitted\u000a\u000aThe root cause is that p_total_cur_mdBm is a *requested* value set in\u000athe timer callback, not a confirmed one.  The hardware confirmation\u000aarrives asynchronously via power_trx_change_compl() ->\u000apower_ramp_do_step(), which is also where compl_cb() is invoked.\u000a\u000aFix by adding a 'complete' flag to trx_power_params.ramp that is:\u000a\u000a* cleared when _power_ramp_start() begins a new ramp, and\u000a* set just before compl_cb() is called in power_ramp_do_step()\u000a\u000aThe shutdown FSM remaining-TRX count then checks !ramp.complete instead of\u000acomparing p_total_cur_mdBm against the target, correctly reflecting which\u000aTRXes have actually received hardware confirmation of ramp completion.\u000a\u000aChange-Id: Ia71393e871187d6b44b7f520eb421bab354aafd1\u000a",
        "date" : "2026-03-27 18:24:49 +0700",
        "id" : "4c6324213ac87f9979df7e6d0f596f175ddb27f6",
        "msg" : "bts_shutdown_fsm: fix spurious RAMP_COMPL events in WAIT_TRX_CLOSED",
        "paths" : [
          {
            "editType" : "edit",
            "file" : "include/osmo-bts/tx_power.h"
          },
          {
            "editType" : "edit",
            "file" : "src/common/tx_power.c"
          },
          {
            "editType" : "edit",
            "file" : "src/common/bts_shutdown_fsm.c"
          }
        ]
      }
    ],
    "kind" : "git"
  },
  "culprits" : [
    {
      "absoluteUrl" : "https://jenkins.osmocom.org/jenkins/user/fixeria",
      "fullName" : "Vadim Yanitskiy"
    }
  ],
  "runs" : [
    {
      "number" : 11397,
      "url" : "https://jenkins.osmocom.org/jenkins/job/master-osmo-bts/BTS_MODEL=lc15,FIRMWARE_VERSION=master,WITH_MANUALS=1,a4=default,label=osmocom-master/11397/"
    },
    {
      "number" : 11397,
      "url" : "https://jenkins.osmocom.org/jenkins/job/master-osmo-bts/BTS_MODEL=lc15,FIRMWARE_VERSION=origin%2Fnrw%2Flitecell15,WITH_MANUALS=0,a4=default,label=osmocom-master/11397/"
    },
    {
      "number" : 11397,
      "url" : "https://jenkins.osmocom.org/jenkins/job/master-osmo-bts/BTS_MODEL=lc15,FIRMWARE_VERSION=v2017.01,WITH_MANUALS=0,a4=default,label=osmocom-master/11397/"
    },
    {
      "number" : 11397,
      "url" : "https://jenkins.osmocom.org/jenkins/job/master-osmo-bts/BTS_MODEL=oc2g,FIRMWARE_VERSION=master,WITH_MANUALS=1,a4=default,label=osmocom-master/11397/"
    },
    {
      "number" : 11397,
      "url" : "https://jenkins.osmocom.org/jenkins/job/master-osmo-bts/BTS_MODEL=oc2g,FIRMWARE_VERSION=origin%2Fnrw%2Foc2g,WITH_MANUALS=0,a4=default,label=osmocom-master/11397/"
    },
    {
      "number" : 11397,
      "url" : "https://jenkins.osmocom.org/jenkins/job/master-osmo-bts/BTS_MODEL=oct,FIRMWARE_VERSION=master,WITH_MANUALS=1,a4=default,label=osmocom-master/11397/"
    },
    {
      "number" : 11397,
      "url" : "https://jenkins.osmocom.org/jenkins/job/master-osmo-bts/BTS_MODEL=oct+trx,FIRMWARE_VERSION=master,WITH_MANUALS=1,a4=default,label=osmocom-master/11397/"
    },
    {
      "number" : 11397,
      "url" : "https://jenkins.osmocom.org/jenkins/job/master-osmo-bts/BTS_MODEL=sysmo,FIRMWARE_VERSION=femtobts_v2.7,WITH_MANUALS=0,a4=default,label=osmocom-master/11397/"
    },
    {
      "number" : 11397,
      "url" : "https://jenkins.osmocom.org/jenkins/job/master-osmo-bts/BTS_MODEL=sysmo,FIRMWARE_VERSION=master,WITH_MANUALS=1,a4=default,label=osmocom-master/11397/"
    },
    {
      "number" : 11397,
      "url" : "https://jenkins.osmocom.org/jenkins/job/master-osmo-bts/BTS_MODEL=sysmo,FIRMWARE_VERSION=superfemto_v2.4,WITH_MANUALS=0,a4=default,label=osmocom-master/11397/"
    },
    {
      "number" : 11397,
      "url" : "https://jenkins.osmocom.org/jenkins/job/master-osmo-bts/BTS_MODEL=sysmo,FIRMWARE_VERSION=superfemto_v3.0.1pre,WITH_MANUALS=0,a4=default,label=osmocom-master/11397/"
    },
    {
      "number" : 11397,
      "url" : "https://jenkins.osmocom.org/jenkins/job/master-osmo-bts/BTS_MODEL=sysmo,FIRMWARE_VERSION=superfemto_v3.1,WITH_MANUALS=0,a4=default,label=osmocom-master/11397/"
    },
    {
      "number" : 11397,
      "url" : "https://jenkins.osmocom.org/jenkins/job/master-osmo-bts/BTS_MODEL=sysmo,FIRMWARE_VERSION=superfemto_v5.1,WITH_MANUALS=0,a4=default,label=osmocom-master/11397/"
    },
    {
      "number" : 11397,
      "url" : "https://jenkins.osmocom.org/jenkins/job/master-osmo-bts/BTS_MODEL=trx,FIRMWARE_VERSION=master,WITH_MANUALS=0,a4=default,label=raspbian/11397/"
    },
    {
      "number" : 11397,
      "url" : "https://jenkins.osmocom.org/jenkins/job/master-osmo-bts/BTS_MODEL=trx,FIRMWARE_VERSION=master,WITH_MANUALS=1,a4=default,label=osmocom-master/11397/"
    }
  ]
}