Skip to content

Conversation

@zhhyu7
Copy link
Contributor

@zhhyu7 zhhyu7 commented Jan 21, 2026

Summary

the lock in the "bluetooth_conn" was not initialized, which resulted in a blocking situation when attempting to hold the lock for the first time.

Impact

net/bluetooth

Testing

nrf52840-dk/sdc_nimble
Verification of compilation.

the lock in the "bluetooth_conn" was not initialized, which resulted in
a blocking situation when attempting to hold the lock for the first
time.

Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
@github-actions github-actions bot added Area: Networking Effects networking subsystem Size: XS The size of the change in this PR is very small labels Jan 21, 2026
@xiaoxiang781216 xiaoxiang781216 linked an issue Jan 21, 2026 that may be closed by this pull request
@xiaoxiang781216
Copy link
Contributor

msvc ci keep failing from the recent pr, @xuxin930 could you look at this problem?

@xuxin930
Copy link
Contributor

msvc ci keep failing from the recent pr, @xuxin930 could you look at this problem?

the error message indicates that the CDN request to fetch toolchain failed, but unusually, it hasn't recovered after so much time.
@simbit18 I noticed that Windows Runner was updated yesterday actions/runner-images@47be062.

will this affect the execution of PS? I don't know much about PS, but its update time and CI failure time happen to coincide.

perhaps we should lock in a runner version? @simbit18

@xiaoxiang781216
Copy link
Contributor

msvc ci keep failing from the recent pr, @xuxin930 could you look at this problem?

the error message indicates that the CDN request to fetch toolchain failed, but unusually, it hasn't recovered after so much time. @simbit18 I noticed that Windows Runner was updated yesterday actions/runner-images@47be062.

will this affect the execution of PS? I don't know much about PS, but its update time and CI failure time happen to coincide.

perhaps we should lock in a runner version? @simbit18

All new pr ci fail with this error now.

@simbit18
Copy link
Contributor

simbit18 commented Jan 21, 2026

Hi @xuxin930 and everyone, I have to get to work now, it seems to be the problem at this stage.

function arm_gcc_toolchain() {
  Write-Host "Check ARM GCC toolchain toolchain ..." -ForegroundColor Green
  try {
    if (run_command("arm-none-eabi-gcc") -ne 0) {
      add_path "$NUTTXTOOLS\gcc-arm-none-eabi\bin"
      if (-not (Test-Path -Path "$NUTTXTOOLS\gcc-arm-none-eabi\bin\arm-none-eabi-gcc.exe")) {
        # Download the file
        Write-Host "Download: ARM GCC toolchain" -ForegroundColor Green
        $basefile = "arm-gnu-toolchain-13.2.Rel1-mingw-w64-i686-arm-none-eabi"
        Set-Location "$NUTTXTOOLS"
        # Download the latest ARM GCC toolchain prebuilt by ARM
        Invoke-WebRequest -Uri "https://developer.arm.com/-/media/Files/downloads/gnu/13.2.rel1/binrel/$basefile.zip" -OutFile "$NUTTXTOOLS\$basefile.zip" -ErrorAction Stop
        Expand-Archive "$NUTTXTOOLS\$basefile.zip"
        Move-Item -Path "$basefile\$basefile" -Destination "gcc-arm-none-eabi"
        Remove-Item "$basefile*" -Force
      }
    }
    arm-none-eabi-gcc --version
  }
  catch {
    Write-Error "Failed to download the file: $_"
  }
}
Check ARM GCC toolchain toolchain ...
Download: ARM GCC toolchain
An error occurred while executing the script: Failed to download the file: 
Access Denied

Access Denied
 
You don't have permission to access 

It seems to be a change with the Windows update actions -runner image and it concerns either Invoke-WebRequest
or the unzip and toolchain move phase.

I can only work on it in the afternoon UTC.

@xuxin930
Copy link
Contributor

Hi @xuxin930 and everyone, I have to get to work now, it seems to be the problem at this stage.

Hi @simbit18 @xiaoxiang781216

I've tried various methods.

  • Locking the Windows Runner to a fixed version 22 didn't work. ❌

  • Using WebClient in PowerShell to request the ARM website didn't work. ❌

  • Now I'm trying to switch the toolchain from the ARM website to Xpack, and it seems to work. ✅

#18069

@xiaoxiang781216 xiaoxiang781216 merged commit 646010d into apache:master Jan 21, 2026
39 of 40 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: Networking Effects networking subsystem Size: XS The size of the change in this PR is very small

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] nimble broken for nrf52, nrf53

5 participants