{
  "_class" : "hudson.matrix.MatrixBuild",
  "actions" : [
    {
      "_class" : "hudson.model.CauseAction",
      "causes" : [
        {
          "_class" : "org.jenkinsci.plugins.workflow.support.steps.build.BuildUpstreamCause",
          "shortDescription" : "Started by upstream project \"gerrit-libosmocore\" build number 2,135",
          "upstreamBuild" : 2135,
          "upstreamProject" : "gerrit-libosmocore",
          "upstreamUrl" : "job/gerrit-libosmocore/"
        }
      ]
    },
    {
      
    },
    {
      "_class" : "hudson.model.ParametersAction",
      "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" : "41671"
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "GERRIT_HOST",
          "value" : "gerrit.osmocom.org"
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "GERRIT_PATCHSET_NUMBER",
          "value" : "4"
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "GERRIT_PATCHSET_REVISION",
          "value" : "cdbc959a12c15ed8eb985691861f9b058cb1125a"
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "GERRIT_PATCHSET_UPLOADER_NAME",
          "value" : "pespin"
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "GERRIT_PORT",
          "value" : "29418"
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "GERRIT_PROJECT",
          "value" : "libosmocore"
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "GERRIT_REFSPEC",
          "value" : "refs/changes/71/41671/4"
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "GERRIT_REPO_URL",
          "value" : "ssh://jenkins@gerrit.osmocom.org:29418/libosmocore"
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "PIPELINE_BUILD_URL",
          "value" : "https://jenkins.osmocom.org/jenkins/job/gerrit-libosmocore/2135/"
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "PROJECT_NAME",
          "value" : "libosmocore"
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "BRANCH_CI",
          "value" : "master"
        }
      ]
    },
    {
      "_class" : "jenkins.metrics.impl.TimeInQueueAction",
      "blockedDurationMillis" : 0,
      "blockedTimeMillis" : 0,
      "buildableDurationMillis" : 0,
      "buildableTimeMillis" : 0,
      "buildingDurationMillis" : 120561,
      "executingTimeMillis" : 120561,
      "executorUtilization" : 1.0,
      "subTaskCount" : 0,
      "waitingDurationMillis" : 5814,
      "waitingTimeMillis" : 5814
    },
    {
      
    },
    {
      "_class" : "hudson.plugins.git.util.BuildData",
      "buildsByBranchName" : {
        "osmith/1.9.1" : {
          "_class" : "hudson.plugins.git.util.Build",
          "buildNumber" : 1315,
          "buildResult" : None,
          "marked" : {
            "SHA1" : "197248107c5c2007b44c4df1bec011e6c1754cda",
            "branch" : [
              {
                "SHA1" : "197248107c5c2007b44c4df1bec011e6c1754cda",
                "name" : "osmith/1.9.1"
              }
            ]
          },
          "revision" : {
            "SHA1" : "197248107c5c2007b44c4df1bec011e6c1754cda",
            "branch" : [
              {
                "SHA1" : "197248107c5c2007b44c4df1bec011e6c1754cda",
                "name" : "osmith/1.9.1"
              }
            ]
          }
        },
        "osmith/1.9.2" : {
          "_class" : "hudson.plugins.git.util.Build",
          "buildNumber" : 1319,
          "buildResult" : None,
          "marked" : {
            "SHA1" : "3f0bbe398e16513906d29802d058a87655fceaf1",
            "branch" : [
              {
                "SHA1" : "3f0bbe398e16513906d29802d058a87655fceaf1",
                "name" : "osmith/1.9.2"
              }
            ]
          },
          "revision" : {
            "SHA1" : "3f0bbe398e16513906d29802d058a87655fceaf1",
            "branch" : [
              {
                "SHA1" : "3f0bbe398e16513906d29802d058a87655fceaf1",
                "name" : "osmith/1.9.2"
              }
            ]
          }
        },
        "osmith/wip" : {
          "_class" : "hudson.plugins.git.util.Build",
          "buildNumber" : 1773,
          "buildResult" : None,
          "marked" : {
            "SHA1" : "aa177c0f4457df953e3e6e121e8806a4cf403d72",
            "branch" : [
              {
                "SHA1" : "aa177c0f4457df953e3e6e121e8806a4cf403d72",
                "name" : "osmith/wip"
              }
            ]
          },
          "revision" : {
            "SHA1" : "aa177c0f4457df953e3e6e121e8806a4cf403d72",
            "branch" : [
              {
                "SHA1" : "aa177c0f4457df953e3e6e121e8806a4cf403d72",
                "name" : "osmith/wip"
              }
            ]
          }
        },
        "pespin/rel-1.10.0" : {
          "_class" : "hudson.plugins.git.util.Build",
          "buildNumber" : 1877,
          "buildResult" : None,
          "marked" : {
            "SHA1" : "a32a6ee4a6532e0c1d358ecebb8f13b8acc75dc1",
            "branch" : [
              {
                "SHA1" : "a32a6ee4a6532e0c1d358ecebb8f13b8acc75dc1",
                "name" : "pespin/rel-1.10.0"
              }
            ]
          },
          "revision" : {
            "SHA1" : "a32a6ee4a6532e0c1d358ecebb8f13b8acc75dc1",
            "branch" : [
              {
                "SHA1" : "a32a6ee4a6532e0c1d358ecebb8f13b8acc75dc1",
                "name" : "pespin/rel-1.10.0"
              }
            ]
          }
        },
        "osmith/1.11.2" : {
          "_class" : "hudson.plugins.git.util.Build",
          "buildNumber" : 2093,
          "buildResult" : None,
          "marked" : {
            "SHA1" : "22a11a35e3feec31b86738d19f3d85406feb099a",
            "branch" : [
              {
                "SHA1" : "22a11a35e3feec31b86738d19f3d85406feb099a",
                "name" : "osmith/1.11.2"
              }
            ]
          },
          "revision" : {
            "SHA1" : "22a11a35e3feec31b86738d19f3d85406feb099a",
            "branch" : [
              {
                "SHA1" : "22a11a35e3feec31b86738d19f3d85406feb099a",
                "name" : "osmith/1.11.2"
              }
            ]
          }
        },
        "osmith/1.11.3" : {
          "_class" : "hudson.plugins.git.util.Build",
          "buildNumber" : 2118,
          "buildResult" : None,
          "marked" : {
            "SHA1" : "17ca3339e13d779a330781334e92f48d7ea87d36",
            "branch" : [
              {
                "SHA1" : "17ca3339e13d779a330781334e92f48d7ea87d36",
                "name" : "osmith/1.11.3"
              }
            ]
          },
          "revision" : {
            "SHA1" : "17ca3339e13d779a330781334e92f48d7ea87d36",
            "branch" : [
              {
                "SHA1" : "17ca3339e13d779a330781334e92f48d7ea87d36",
                "name" : "osmith/1.11.3"
              }
            ]
          }
        },
        "rel-1.9.1" : {
          "_class" : "hudson.plugins.git.util.Build",
          "buildNumber" : 1740,
          "buildResult" : None,
          "marked" : {
            "SHA1" : "3a1bb866bbc481b379034723ede51a2e4e8b9c65",
            "branch" : [
              {
                "SHA1" : "3a1bb866bbc481b379034723ede51a2e4e8b9c65",
                "name" : "rel-1.9.1"
              }
            ]
          },
          "revision" : {
            "SHA1" : "3a1bb866bbc481b379034723ede51a2e4e8b9c65",
            "branch" : [
              {
                "SHA1" : "3a1bb866bbc481b379034723ede51a2e4e8b9c65",
                "name" : "rel-1.9.1"
              }
            ]
          }
        },
        "arehbein/osmo_io_ipa" : {
          "_class" : "hudson.plugins.git.util.Build",
          "buildNumber" : 833,
          "buildResult" : None,
          "marked" : {
            "SHA1" : "d75a0cca8117b609da75111388bf8baea5dac0a5",
            "branch" : [
              {
                "SHA1" : "d75a0cca8117b609da75111388bf8baea5dac0a5",
                "name" : "arehbein/osmo_io_ipa"
              }
            ]
          },
          "revision" : {
            "SHA1" : "d75a0cca8117b609da75111388bf8baea5dac0a5",
            "branch" : [
              {
                "SHA1" : "d75a0cca8117b609da75111388bf8baea5dac0a5",
                "name" : "arehbein/osmo_io_ipa"
              }
            ]
          }
        },
        "rel-1.11.1" : {
          "_class" : "hudson.plugins.git.util.Build",
          "buildNumber" : 1946,
          "buildResult" : None,
          "marked" : {
            "SHA1" : "87de74a9f5835fb56a4758860aea3e673c29060e",
            "branch" : [
              {
                "SHA1" : "87de74a9f5835fb56a4758860aea3e673c29060e",
                "name" : "rel-1.11.1"
              }
            ]
          },
          "revision" : {
            "SHA1" : "87de74a9f5835fb56a4758860aea3e673c29060e",
            "branch" : [
              {
                "SHA1" : "87de74a9f5835fb56a4758860aea3e673c29060e",
                "name" : "rel-1.11.1"
              }
            ]
          }
        },
        "rel-1.9.3" : {
          "_class" : "hudson.plugins.git.util.Build",
          "buildNumber" : 1743,
          "buildResult" : None,
          "marked" : {
            "SHA1" : "55ea51049775e623880f62026ad827f580aec7a2",
            "branch" : [
              {
                "SHA1" : "55ea51049775e623880f62026ad827f580aec7a2",
                "name" : "rel-1.9.3"
              }
            ]
          },
          "revision" : {
            "SHA1" : "55ea51049775e623880f62026ad827f580aec7a2",
            "branch" : [
              {
                "SHA1" : "55ea51049775e623880f62026ad827f580aec7a2",
                "name" : "rel-1.9.3"
              }
            ]
          }
        },
        "master" : {
          "_class" : "hudson.plugins.git.util.Build",
          "buildNumber" : 2136,
          "buildResult" : None,
          "marked" : {
            "SHA1" : "cdbc959a12c15ed8eb985691861f9b058cb1125a",
            "branch" : [
              {
                "SHA1" : "cdbc959a12c15ed8eb985691861f9b058cb1125a",
                "name" : "master"
              }
            ]
          },
          "revision" : {
            "SHA1" : "cdbc959a12c15ed8eb985691861f9b058cb1125a",
            "branch" : [
              {
                "SHA1" : "cdbc959a12c15ed8eb985691861f9b058cb1125a",
                "name" : "master"
              }
            ]
          }
        }
      },
      "lastBuiltRevision" : {
        "SHA1" : "cdbc959a12c15ed8eb985691861f9b058cb1125a",
        "branch" : [
          {
            "SHA1" : "cdbc959a12c15ed8eb985691861f9b058cb1125a",
            "name" : "master"
          }
        ]
      },
      "remoteUrls" : [
        "ssh://jenkins@gerrit.osmocom.org:29418/libosmocore"
      ],
      "scmName" : ""
    },
    {
      
    },
    {
      
    },
    {
      "_class" : "org.jenkinsci.plugins.displayurlapi.actions.RunDisplayAction"
    }
  ],
  "artifacts" : [
    
  ],
  "building" : False,
  "description" : None,
  "displayName" : "#2136",
  "duration" : 120561,
  "estimatedDuration" : 130999,
  "executor" : None,
  "fullDisplayName" : "gerrit-libosmocore-build #2136",
  "id" : "2136",
  "inProgress" : False,
  "keepLog" : False,
  "number" : 2136,
  "queueId" : 2072131,
  "result" : "SUCCESS",
  "timestamp" : 1765883105328,
  "url" : "https://jenkins.osmocom.org/jenkins/view/all/job/gerrit-libosmocore-build/2136/",
  "builtOn" : "",
  "changeSet" : {
    "_class" : "hudson.plugins.git.GitChangeSetList",
    "items" : [
      {
        "_class" : "hudson.plugins.git.GitChangeSet",
        "affectedPaths" : [
          "src/core/osmo_io_uring.c"
        ],
        "commitId" : "cdbc959a12c15ed8eb985691861f9b058cb1125a",
        "timestamp" : 1765883074000,
        "author" : {
          "absoluteUrl" : "https://jenkins.osmocom.org/jenkins/user/pespin",
          "fullName" : "Pau Espin Pedrol"
        },
        "authorEmail" : "pespin@sysmocom.de",
        "comment" : "io_uring: RECVMSG_SENDMSG: Reset fd to blocking after osmo_fd_register() workaround\u000a\u000aWhen IOFD_FLAG_NOTIFY_CONNECTED is requested by the user through\u000aosmo_iofd_notify_connected(), a write_cb(0, NULL) callback is done\u000atowards the user to notify the socket is connected.\u000a\u000aIn mode RECVMSG_SENDMSG, at least for SCTP sockets, according to comment\u000ain iofd_uring_register() (see also OS#5751) we cannot do the write(0)\u000atrick to get notifications, so instead we need to workaround by using a\u000atemporary osmo_fd to poll() for write status.\u000aTo do so, we call osmo_fd_register(), which internally sets the fd as\u000anon-blocking (O_NONBLOCK). However, this is becomes an undesired\u000abehavior later on when connect happens and io_uring is used to\u000arecvmsg/sendmsg, since that could cause sqes to be answered with -EAGAIN\u000acqes at the kernel isntead of keeping (blocking) them internally until\u000athe transaction can be resolved. This seems was a \"desired\" or\u000a\"expected\" behavior in older kernels according to public\u000adiscussions/tickets, but it seeems it changed over time (see eg. GH#364\u000abelow).\u000a\u000aIn summary, the conclusion seems to be: try to avoid as much as possible mixing\u000aO_NONBLOCK with io_uring, as you may get totally unexpected/changing\u000abehavior.\u000a\u000aHence, avoid keeping O_NONBLOCK for those sockets when moving back from\u000aosmo_fd to io_uring.\u000a\u000aSee regarding related discussion on the expected behavior with io_uring and O_NONBLOCK:\u000ahttps://www.spinics.net/lists/io-uring/msg04058.html\u000ahttps://github.com/axboe/liburing/issues/364\u000a\u000aChange-Id: Idba623730230bc049b827e51b058cd64d23b730f\u000a",
        "date" : "2025-12-16 12:04:34 +0100",
        "id" : "cdbc959a12c15ed8eb985691861f9b058cb1125a",
        "msg" : "io_uring: RECVMSG_SENDMSG: Reset fd to blocking after osmo_fd_register()",
        "paths" : [
          {
            "editType" : "edit",
            "file" : "src/core/osmo_io_uring.c"
          }
        ]
      }
    ],
    "kind" : "git"
  },
  "culprits" : [
    {
      "absoluteUrl" : "https://jenkins.osmocom.org/jenkins/user/pespin",
      "fullName" : "Pau Espin Pedrol"
    }
  ],
  "runs" : [
    {
      "number" : 2136,
      "url" : "https://jenkins.osmocom.org/jenkins/view/all/job/gerrit-libosmocore-build/a2=default,a3=default,a4=default,arch=amd64,label=io_uring/2136/"
    },
    {
      "number" : 2136,
      "url" : "https://jenkins.osmocom.org/jenkins/view/all/job/gerrit-libosmocore-build/a2=default,a3=default,a4=default,arch=arm-none-eabi,label=io_uring/2136/"
    }
  ]
}