Repository navigation
Closed
Labels
P1High-priority issues at the top of the work listHigh-priority issues at the top of the work listinfra: chromiumteam-infraOwned by Infrastructure teamOwned by Infrastructure teamtriaged-infraTriaged by Infrastructure teamTriaged by Infrastructure team
Description
This user doesn't have permissions to use KVM
D0612 07:56:12.736733 31001 main-common.c:1415] CPU Acceleration status: This user doesn't have permissions to use KVM (/dev/kvm).
The KVM line in /etc/group is: [kvm:x:993:]
If the current user has KVM permissions,
the KVM line in /etc/group should end with ":" followed by your username.
If we see LINE_NOT_FOUND, the kvm gr
D0612 07:56:12.736741 31001 main-common.c:1428] handleCpuAcceleration: feature check for hvf
C 07:58:12.704 120.080s Main Timed out. Dumping threads.
C 07:58:12.704 120.081s Main ********************************************************************************
C 07:58:12.704 120.081s Main Stack dump for thread 'TimeoutThread-1-for-MainThread'
C 07:58:12.704 120.081s Main ********************************************************************************
C 07:58:12.705 120.082s Main File: "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/threading.py", line 890, in _bootstrap
C 07:58:12.705 120.082s Main self._bootstrap_inner()
C 07:58:12.705 120.082s Main File: "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/threading.py", line 932, in _bootstrap_inner
C 07:58:12.705 120.082s Main self.run()
C 07:58:12.705 120.082s Main File: "/b/s/w/ir/cache/avd/src/third_party/catapult/devil/devil/utils/reraiser_thread.py", line 123, in run
C 07:58:12.705 120.082s Main self._ret = self._func(*self._args, **self._kwargs)
C 07:58:12.705 120.082s Main File: "/b/s/w/ir/cache/avd/src/third_party/catapult/devil/devil/utils/timeout_retry.py", line 156, in <lambda>
C 07:58:12.705 120.082s Main lambda: func(*args, **kwargs), name=thread_name)
C 07:58:12.705 120.082s Main File: "/b/s/w/ir/cache/avd/src/build/android/pylib/local/emulator/avd.py", line 1180, in listen_for_serial
C 07:58:12.705 120.082s Main with contextlib.closing(s.accept()[0]) as conn:
C 07:58:12.705 120.082s Main File: "/home/chrome-bot/.cache/vpython-root.1000/store/cpython+tkj8tpr2n0oj8m0t270p0m71s0/contents/lib/python3.8/socket.py", line 292, in accept
C 07:58:12.705 120.082s Main fd, addr = self._accept()
C 07:58:12.705 120.082s Main ********************************************************************************
https://ci.chromium.org/ui/p/flutter/builders/try/Linux_android_emu%20android_engine_opengles_tests/10332/overview
https://ci.chromium.org/ui/p/flutter/builders/prod/Linux_android_emu%20android_defines_test/5643/overview
Metadata
Metadata
Assignees
Labels
P1High-priority issues at the top of the work listHigh-priority issues at the top of the work listinfra: chromiumteam-infraOwned by Infrastructure teamOwned by Infrastructure teamtriaged-infraTriaged by Infrastructure teamTriaged by Infrastructure team
Activity
vashworth commentedon Jun 12, 2025
Not sure which team it's supposed to go to (android or infra) soooo I assigned both 😬
vashworth commentedon Jun 12, 2025
This has happened multiple times before:
ProbeKVM: This user doesn't have permissions to use KVM#166597vashworth commentedon Jun 12, 2025
It does not appear to be tied to a specific commit or device
matanlurey commentedon Jun 12, 2025
Some advice from the Chromium folks:
matanlurey commentedon Jun 12, 2025
I'm proposing manually promoting to prod, but unfortunately need to wait until someone with OWNERS can approve it:
https://chrome-internal-review.googlesource.com/c/infradata/config/+/8345177
jtmcdole commentedon Jun 13, 2025
This lead to #170588
jmagman commentedon Jun 13, 2025
linux_android_emulator_testswere moved to bring-up to reopen the tree due to this issue #170607.This build should be moved out of bringup when the kvm issue is resolved.
infa: other emulator bringups
jtmcdole commentedon Jun 13, 2025
Correct; we hope that's on Monday when a new image is built and rolled out. I believe the "chrome-bot" account that our tests run under was removed from some groups by the chrome infra folks for security reasons. If that's the case; the avd.py script needs to see that "other" can access the KVM with read/write permissions and call it a day.
3 remaining items
matanlurey commentedon Jun 16, 2025
Just a note: while the change was made (https://crrev.com/i/8342556/comments/158ed81b_bdf86825?tab=comments), the images have not rolled out yet due to a test failure (https://ci.chromium.org/ui/p/dart-internal/builders/ci/dart-sdk-linux-noble-experimental/234/overview).
Reland "[native assets] Build dev dependencies in `flutter test integ…
Reverts "Reland "[native assets] Build dev dependencies in `flutter t…
[native assets] Switch device lab Android with Linux host to emulator (…
matanlurey commentedon Jun 17, 2025
It looks like
dart-noble-25061500-76ad3674849passed today:https://ci.chromium.org/ui/p/dart-internal/builders/ci/dart-sdk-linux-noble-experimental/235/overview
I am guessing that means we'll start using the new KDE-fixed image soonish/this week?
matanlurey commentedon Jun 17, 2025
I see one (Flutter Canary) bot using the new image: https://chromium-swarm.appspot.com/bot?id=flutter-canary-prj-ubuntu-us-central1-a-0-kj6p
matanlurey commentedon Jun 17, 2025
Every bot in the try pool (as far as I can see) is now using this image:
https://chromium-swarm.appspot.com/botlist?c=id&c=task&c=image&c=os&c=status&d=asc&f=pool%3Aluci.flutter.try&f=os%3ALinux&k=os&s=id
I am reducing to P1 to keep monitoring and I'll give another update sometime next week.
matanlurey commentedon Jun 23, 2025
I am marking this closed - I haven't seen a recurrence since the new image rolled out.
github-actions commentedon Jul 7, 2025
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.