{
  "_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 steve@steve-m.de"
        }
      ]
    },
    {
      "_class" : "jenkins.metrics.impl.TimeInQueueAction",
      "blockedDurationMillis" : 0,
      "blockedTimeMillis" : 0,
      "buildableDurationMillis" : 0,
      "buildableTimeMillis" : 0,
      "buildingDurationMillis" : 24817,
      "executingTimeMillis" : 24817,
      "executorUtilization" : 1.0,
      "subTaskCount" : 0,
      "waitingDurationMillis" : 8269,
      "waitingTimeMillis" : 8269
    },
    {
      
    },
    {
      "_class" : "hudson.plugins.git.util.BuildData",
      "buildsByBranchName" : {
        "origin/master" : {
          "_class" : "hudson.plugins.git.util.Build",
          "buildNumber" : 2934,
          "buildResult" : None,
          "marked" : {
            "SHA1" : "84195f169f5b4b7dc06a10efb1e210d02b49e51c",
            "branch" : [
              {
                "SHA1" : "84195f169f5b4b7dc06a10efb1e210d02b49e51c",
                "name" : "origin/master"
              }
            ]
          },
          "revision" : {
            "SHA1" : "84195f169f5b4b7dc06a10efb1e210d02b49e51c",
            "branch" : [
              {
                "SHA1" : "84195f169f5b4b7dc06a10efb1e210d02b49e51c",
                "name" : "origin/master"
              }
            ]
          }
        },
        "refs/remotes/origin/osmith/wip2" : {
          "_class" : "hudson.plugins.git.util.Build",
          "buildNumber" : 2792,
          "buildResult" : None,
          "marked" : {
            "SHA1" : "df1183dcf2d0d83ff9d13a21ff44e2e00be38749",
            "branch" : [
              {
                "SHA1" : "df1183dcf2d0d83ff9d13a21ff44e2e00be38749",
                "name" : "refs/remotes/origin/osmith/wip2"
              }
            ]
          },
          "revision" : {
            "SHA1" : "df1183dcf2d0d83ff9d13a21ff44e2e00be38749",
            "branch" : [
              {
                "SHA1" : "df1183dcf2d0d83ff9d13a21ff44e2e00be38749",
                "name" : "refs/remotes/origin/osmith/wip2"
              }
            ]
          }
        },
        "refs/remotes/origin/osmith/wip" : {
          "_class" : "hudson.plugins.git.util.Build",
          "buildNumber" : 2791,
          "buildResult" : None,
          "marked" : {
            "SHA1" : "ba148bc65bd1afd5fba2b310cdbf0bf7b118d14c",
            "branch" : [
              {
                "SHA1" : "ba148bc65bd1afd5fba2b310cdbf0bf7b118d14c",
                "name" : "refs/remotes/origin/osmith/wip"
              }
            ]
          },
          "revision" : {
            "SHA1" : "ba148bc65bd1afd5fba2b310cdbf0bf7b118d14c",
            "branch" : [
              {
                "SHA1" : "ba148bc65bd1afd5fba2b310cdbf0bf7b118d14c",
                "name" : "refs/remotes/origin/osmith/wip"
              }
            ]
          }
        },
        "refs/remotes/origin/master" : {
          "_class" : "hudson.plugins.git.util.Build",
          "buildNumber" : 1751,
          "buildResult" : None,
          "marked" : {
            "SHA1" : "142325a93c6ad70f851f43434acfdf75e12dfe03",
            "branch" : [
              {
                "SHA1" : "142325a93c6ad70f851f43434acfdf75e12dfe03",
                "name" : "refs/remotes/origin/master"
              }
            ]
          },
          "revision" : {
            "SHA1" : "142325a93c6ad70f851f43434acfdf75e12dfe03",
            "branch" : [
              {
                "SHA1" : "142325a93c6ad70f851f43434acfdf75e12dfe03",
                "name" : "refs/remotes/origin/master"
              }
            ]
          }
        }
      },
      "lastBuiltRevision" : {
        "SHA1" : "84195f169f5b4b7dc06a10efb1e210d02b49e51c",
        "branch" : [
          {
            "SHA1" : "84195f169f5b4b7dc06a10efb1e210d02b49e51c",
            "name" : "origin/master"
          }
        ]
      },
      "remoteUrls" : [
        "https://gitea.osmocom.org/sdr/rtl-sdr"
      ],
      "scmName" : ""
    },
    {
      
    },
    {
      
    },
    {
      "_class" : "org.jenkinsci.plugins.displayurlapi.actions.RunDisplayAction"
    }
  ],
  "artifacts" : [
    
  ],
  "building" : False,
  "description" : None,
  "displayName" : "#2934",
  "duration" : 24817,
  "estimatedDuration" : 22454,
  "executor" : None,
  "fullDisplayName" : "master-rtl-sdr #2934",
  "id" : "2934",
  "inProgress" : False,
  "keepLog" : False,
  "number" : 2934,
  "queueId" : 35194,
  "result" : "SUCCESS",
  "timestamp" : 1771277769600,
  "url" : "https://jenkins.osmocom.org/jenkins/view/OBS/job/master-rtl-sdr/2934/",
  "builtOn" : "",
  "changeSet" : {
    "_class" : "hudson.plugins.git.GitChangeSetList",
    "items" : [
      {
        "_class" : "hudson.plugins.git.GitChangeSet",
        "affectedPaths" : [
          "src/librtlsdr.c",
          "src/rtl_fm.c"
        ],
        "commitId" : "65f06585ea46160cd2d7bee8b3f641c14771c2ee",
        "timestamp" : 1769467866000,
        "author" : {
          "absoluteUrl" : "https://jenkins.osmocom.org/jenkins/user/steve",
          "fullName" : "steve"
        },
        "authorEmail" : "steve@steve-m.de",
        "comment" : "Fix application hang on USB transfer errors\u000a\u000aWhen USB transfer errors occur (e.g., dongle movement in socket),\u000aapplications using rtlsdr_read_async() would hang indefinitely\u000ainstead of terminating gracefully.\u000a\u000aThe issue had two parts:\u000a\u000a1. _libusb_callback() was calling rtlsdr_cancel_async() from within\u000a   the libusb event handler, creating a race condition by modifying\u000a   dev->async_cancel while libusb_handle_events_timeout_completed()\u000a   was actively using it as a parameter.\u000a\u000a2. Even when dev->dev_lost was set, the async read loop would not\u000a   properly exit, and applications like rtl_fm had no way to detect\u000a   the device loss.\u000a\u000aThis patch:\u000a- Removes the problematic rtlsdr_cancel_async() call from the callback\u000a- Adds proper dev->dev_lost detection in the main event loop to\u000a  transition to RTLSDR_CANCELING state\u000a- Returns -1 from rtlsdr_read_async() when device is lost\u000a- Updates rtl_fm to check the return value and terminate gracefully\u000a  with an error message\u000a\u000aTested with RTL2832U/FC0012 dongle by deliberately triggering USB\u000aerrors (dongle movement). Applications now terminate cleanly instead\u000aof hanging indefinitely.\u000a\u000aSigned-off-by: Ramon Smits <ramon.smits@gmail.com>\u000a",
        "date" : "2026-01-26 23:51:06 +0100",
        "id" : "65f06585ea46160cd2d7bee8b3f641c14771c2ee",
        "msg" : "Fix application hang on USB transfer errors",
        "paths" : [
          {
            "editType" : "edit",
            "file" : "src/rtl_fm.c"
          },
          {
            "editType" : "edit",
            "file" : "src/librtlsdr.c"
          }
        ]
      },
      {
        "_class" : "hudson.plugins.git.GitChangeSet",
        "affectedPaths" : [
          "CMakeLists.txt"
        ],
        "commitId" : "5e4d386650c032bdc23bea2c38fa59f51d53014d",
        "timestamp" : 1769468244000,
        "author" : {
          "absoluteUrl" : "https://jenkins.osmocom.org/jenkins/user/steve",
          "fullName" : "steve"
        },
        "authorEmail" : "steve@steve-m.de",
        "comment" : "Use CMake <min>...<max> syntax to get rid of deprecation warnings\u000a",
        "date" : "2026-01-26 23:57:24 +0100",
        "id" : "5e4d386650c032bdc23bea2c38fa59f51d53014d",
        "msg" : "Use CMake <min>...<max> syntax to get rid of deprecation warnings",
        "paths" : [
          {
            "editType" : "edit",
            "file" : "CMakeLists.txt"
          }
        ]
      },
      {
        "_class" : "hudson.plugins.git.GitChangeSet",
        "affectedPaths" : [
          "src/CMakeLists.txt"
        ],
        "commitId" : "84195f169f5b4b7dc06a10efb1e210d02b49e51c",
        "timestamp" : 1771041642000,
        "author" : {
          "absoluteUrl" : "https://jenkins.osmocom.org/jenkins/user/joshua.grieve19",
          "fullName" : "joshua.grieve19"
        },
        "authorEmail" : "joshua.grieve19@gmail.com",
        "comment" : "Make include relative to project for use with FetchContent\u000a",
        "date" : "2026-02-13 23:00:42 -0500",
        "id" : "84195f169f5b4b7dc06a10efb1e210d02b49e51c",
        "msg" : "Make include relative to project for use with FetchContent",
        "paths" : [
          {
            "editType" : "edit",
            "file" : "src/CMakeLists.txt"
          }
        ]
      }
    ],
    "kind" : "git"
  },
  "culprits" : [
    {
      "absoluteUrl" : "https://jenkins.osmocom.org/jenkins/user/steve",
      "fullName" : "steve"
    },
    {
      "absoluteUrl" : "https://jenkins.osmocom.org/jenkins/user/joshua.grieve19",
      "fullName" : "joshua.grieve19"
    }
  ],
  "runs" : [
    {
      "number" : 2934,
      "url" : "https://jenkins.osmocom.org/jenkins/view/OBS/job/master-rtl-sdr/a1=default,a2=default,a3=default,a4=default,label=osmocom-master/2934/"
    }
  ]
}