{
  "_class" : "hudson.matrix.MatrixRun",
  "actions" : [
    {
      "_class" : "hudson.matrix.MatrixChildParametersAction",
      "parameters" : [
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "COMMENT_TYPE",
          "value" : ""
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "DISTRO",
          "value" : ""
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "GERRIT_BRANCH",
          "value" : "master"
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "GERRIT_CHANGE_NUMBER",
          "value" : "28342"
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "GERRIT_HOST",
          "value" : "gerrit.osmocom.org"
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "GERRIT_PATCHSET_NUMBER",
          "value" : "3"
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "GERRIT_PATCHSET_REVISION",
          "value" : "38e5e43b2881d8b85a80d9a77670100fc9e1a639"
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "GERRIT_PATCHSET_UPLOADER_NAME",
          "value" : "keith"
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "GERRIT_PORT",
          "value" : "29418"
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "GERRIT_PROJECT",
          "value" : "osmo-msc"
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "GERRIT_REFSPEC",
          "value" : "refs/changes/42/28342/3"
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "GERRIT_REPO_URL",
          "value" : "ssh://jenkins@gerrit.osmocom.org:29418/osmo-msc"
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "PIPELINE_BUILD_URL",
          "value" : "https://jenkins.osmocom.org/jenkins/job/gerrit-osmo-msc/1198/"
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "PROJECT_NAME",
          "value" : "osmo-msc"
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "BRANCH_CI",
          "value" : "master"
        }
      ]
    },
    {
      
    },
    {
      "_class" : "hudson.model.CauseAction",
      "causes" : [
        {
          "_class" : "hudson.model.Cause$UpstreamCause",
          "shortDescription" : "Started by upstream project \"gerrit-osmo-msc-build\" build number 1,198",
          "upstreamBuild" : 1198,
          "upstreamProject" : "gerrit-osmo-msc-build",
          "upstreamUrl" : "job/gerrit-osmo-msc-build/"
        }
      ]
    },
    {
      "_class" : "jenkins.metrics.impl.TimeInQueueAction",
      "blockedDurationMillis" : 0,
      "blockedTimeMillis" : 0,
      "buildableDurationMillis" : 1,
      "buildableTimeMillis" : 1,
      "buildingDurationMillis" : 212557,
      "executingTimeMillis" : 212557,
      "executorUtilization" : 1.0,
      "subTaskCount" : 0,
      "waitingDurationMillis" : 0,
      "waitingTimeMillis" : 0
    },
    {
      
    },
    {
      "_class" : "hudson.plugins.git.util.BuildData",
      "buildsByBranchName" : {
        "osmith/1.10.1" : {
          "_class" : "hudson.plugins.git.util.Build",
          "buildNumber" : 408,
          "buildResult" : None,
          "marked" : {
            "SHA1" : "f7fc24185ba001dcfb93e6c664e905bcf1162555",
            "branch" : [
              {
                "SHA1" : "f7fc24185ba001dcfb93e6c664e905bcf1162555",
                "name" : "osmith/1.10.1"
              }
            ]
          },
          "revision" : {
            "SHA1" : "f7fc24185ba001dcfb93e6c664e905bcf1162555",
            "branch" : [
              {
                "SHA1" : "f7fc24185ba001dcfb93e6c664e905bcf1162555",
                "name" : "osmith/1.10.1"
              }
            ]
          }
        },
        "osmith/1.11.1" : {
          "_class" : "hudson.plugins.git.util.Build",
          "buildNumber" : 767,
          "buildResult" : None,
          "marked" : {
            "SHA1" : "1792ba92c1f939fb232e25ae1124eda7bb11983f",
            "branch" : [
              {
                "SHA1" : "1792ba92c1f939fb232e25ae1124eda7bb11983f",
                "name" : "osmith/1.11.1"
              }
            ]
          },
          "revision" : {
            "SHA1" : "1792ba92c1f939fb232e25ae1124eda7bb11983f",
            "branch" : [
              {
                "SHA1" : "1792ba92c1f939fb232e25ae1124eda7bb11983f",
                "name" : "osmith/1.11.1"
              }
            ]
          }
        },
        "osmith/1.12.2" : {
          "_class" : "hudson.plugins.git.util.Build",
          "buildNumber" : 1033,
          "buildResult" : None,
          "marked" : {
            "SHA1" : "c21aedfcfcd736372eccb88d1ec680e9a7cc7443",
            "branch" : [
              {
                "SHA1" : "c21aedfcfcd736372eccb88d1ec680e9a7cc7443",
                "name" : "osmith/1.12.2"
              }
            ]
          },
          "revision" : {
            "SHA1" : "c21aedfcfcd736372eccb88d1ec680e9a7cc7443",
            "branch" : [
              {
                "SHA1" : "c21aedfcfcd736372eccb88d1ec680e9a7cc7443",
                "name" : "osmith/1.12.2"
              }
            ]
          }
        },
        "master" : {
          "_class" : "hudson.plugins.git.util.Build",
          "buildNumber" : 1198,
          "buildResult" : None,
          "marked" : {
            "SHA1" : "38e5e43b2881d8b85a80d9a77670100fc9e1a639",
            "branch" : [
              {
                "SHA1" : "38e5e43b2881d8b85a80d9a77670100fc9e1a639",
                "name" : "master"
              }
            ]
          },
          "revision" : {
            "SHA1" : "38e5e43b2881d8b85a80d9a77670100fc9e1a639",
            "branch" : [
              {
                "SHA1" : "38e5e43b2881d8b85a80d9a77670100fc9e1a639",
                "name" : "master"
              }
            ]
          }
        }
      },
      "lastBuiltRevision" : {
        "SHA1" : "38e5e43b2881d8b85a80d9a77670100fc9e1a639",
        "branch" : [
          {
            "SHA1" : "38e5e43b2881d8b85a80d9a77670100fc9e1a639",
            "name" : "master"
          }
        ]
      },
      "remoteUrls" : [
        "ssh://jenkins@gerrit.osmocom.org:29418/osmo-msc"
      ],
      "scmName" : ""
    },
    {
      
    },
    {
      "_class" : "org.jenkinsci.plugins.displayurlapi.actions.RunDisplayAction"
    }
  ],
  "artifacts" : [
    
  ],
  "building" : False,
  "description" : None,
  "displayName" : "#1198",
  "duration" : 212557,
  "estimatedDuration" : 231822,
  "executor" : None,
  "fullDisplayName" : "gerrit-osmo-msc-build » --enable-iu,1,a3=default,a4=default,osmocom-gerrit #1198",
  "id" : "1198",
  "inProgress" : False,
  "keepLog" : False,
  "number" : 1198,
  "queueId" : 2014363,
  "result" : "SUCCESS",
  "timestamp" : 1760210484237,
  "url" : "https://jenkins.osmocom.org/jenkins/job/gerrit-osmo-msc-build/IU=--enable-iu,WITH_MANUALS=1,a3=default,a4=default,label=osmocom-gerrit/1198/",
  "builtOn" : "build4-deb12build-ansible",
  "changeSet" : {
    "_class" : "hudson.plugins.git.GitChangeSetList",
    "items" : [
      {
        "_class" : "hudson.plugins.git.GitChangeSet",
        "affectedPaths" : [
          "src/libmsc/db.c",
          "src/libmsc/sms_queue.c",
          "src/libmsc/gsm_04_11.c",
          "src/libsmpputil/smpp_msc.c",
          "include/osmocom/msc/signal.h"
        ],
        "commitId" : "38e5e43b2881d8b85a80d9a77670100fc9e1a639",
        "timestamp" : 1760210030000,
        "author" : {
          "absoluteUrl" : "https://jenkins.osmocom.org/jenkins/user/keith",
          "fullName" : "keith"
        },
        "authorEmail" : "keith@rhizomatica.org",
        "comment" : "SMS UX optimisation: Deliver rx'd SMS right away.\u000a\u000aWhen we receive an SMS, we first store it the database\u000aand then send a signal to the sms queue to run.\u000a\u000aStoring the SMS first is good, as it would be lost\u000aon program exit, however the queue logic does not\u000aalways work, for example if there are many undelivered\u000aSMS in the database, especially if there are SMS for\u000adestinations that are currently attached but cannot\u000areceive the SMS. (Older phones with limited storage,\u000afor example)\u000a\u000aAfter we have stored the new SMS in the db, we then\u000asignal the queue to run, but this is not good enough,\u000aas decribed above, So let's specifically try to deliver\u000athe message that was just submitted.\u000a\u000aAlso, when fetching SMS from the DB into the in-memory queue,\u000aprioritise SMS with least number of delivery attempts\u000a\u000aThen try to send ALL pending SMS for subscriber in\u000asub_ready_for_sms() callback\u000a\u000aChange-Id: I9af51ef0d9c2e6c5acc5128efd6195df881b680c\u000a",
        "date" : "2025-10-11 13:13:50 -0600",
        "id" : "38e5e43b2881d8b85a80d9a77670100fc9e1a639",
        "msg" : "SMS UX optimisation: Deliver rx'd SMS right away.",
        "paths" : [
          {
            "editType" : "edit",
            "file" : "src/libmsc/gsm_04_11.c"
          },
          {
            "editType" : "edit",
            "file" : "src/libsmpputil/smpp_msc.c"
          },
          {
            "editType" : "edit",
            "file" : "src/libmsc/db.c"
          },
          {
            "editType" : "edit",
            "file" : "include/osmocom/msc/signal.h"
          },
          {
            "editType" : "edit",
            "file" : "src/libmsc/sms_queue.c"
          }
        ]
      }
    ],
    "kind" : "git"
  },
  "culprits" : [
    {
      "absoluteUrl" : "https://jenkins.osmocom.org/jenkins/user/keith",
      "fullName" : "keith"
    }
  ]
}