New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 759571 link

Starred by 1 user

Issue metadata

Status: Archived
Owner: ----
Closed: Sep 4
Cc:
Components:
EstimatedDays: 0
NextAction: 2017-09-01
OS: Linux
Pri: 1
Type: Bug

Blocked on:
issue 741001



Sign in to add a comment

"ImportError: No module named psutil" in LUCI emulation mode

Project Member Reported by oprypin@chromium.org, Aug 28 2017

Issue description

Hi,

WebRTC EngProd team has been running WebRTC trybots in LUCI emulation mode, which has worked well previously, but recently (around 26 Aug) it started failing whenever `import psutil` is used in Python scripts. So we currently have two builders that reliably fail only in LUCI emulation mode (i.e. when ran by people opted into the experiment).

https://build.chromium.org/p/tryserver.webrtc/builders/android_dbg/builds/27003
https://build.chromium.org/p/tryserver.webrtc/builders/mac_baremetal/builds/24388

So please make psutil module available or suggest an alternative course of action.

 
Labels: -Pri-2 OS-Linux Pri-1
Setting P1 since this is blocking us in the LUCI emulation experiment from getting things done using the normal workflow (now we have to manually push all CLs).
Cc: machenb...@chromium.org
I guess [1] is the vpython used and that the python-psutil simply needs to be installed and auto-rolled into the buildbot environment. It's not clear to me how to do this though - I can't find the right .spec file in my infra checkout...

machenbach: have you faced similar issue or knows how to update vpython?

[1]: https://chromium.googlesource.com/external/github.com/luci/luci-go/+/master/vpython/
Didn't experience this. But we also didn't do LUCI emulation. We just switch from normal remote-run to real LUCI directly.

Comment 5 by no...@chromium.org, Aug 29 2017

Cc: d...@chromium.org

Comment 6 by no...@chromium.org, Aug 29 2017

Status: Available (was: Untriaged)

Comment 7 by d...@chromium.org, Aug 29 2017

Blockedon: 741001
iannucci@ and I are working on this as part of a larger effort to roll out hermetic Python bundles. ETA is this Thursday.
EstimatedDays: 0
NextAction: 2017-09-01
Thanks for the information dnj@, that sounds promising. I'll check back on Friday then.
The problem went away without any action from us (around 30 Aug).
I'm still seeing the same psutil problem. Ran a new tryjob today:
https://build.chromium.org/p/tryserver.webrtc/builders/mac_baremetal/builds/24575

Comment 11 by d...@chromium.org, Aug 31 2017

We didn't do anything yet, so it shouldn't have changed.
The NextAction date has arrived: 2017-09-01
dnj: can you provide an update on the progress. I noticed https://bugs.chromium.org/p/chromium/issues/detail?id=741001#c29 does add psutil to the Python environment, but I guess it's not rolled out to bots yet? (since my tryjob from today failed: https://build.chromium.org/p/tryserver.webrtc/builders/mac_baremetal/builds/24610)

Comment 14 by d...@chromium.org, Sep 1 2017

I failed to find a good block of time to do this yesterday. Hoping to be able to do it today.
So, now we're getting this error not only in LUCI emulation. Commit queue is blocked on failures like this: https://build.chromium.org/p/tryserver.webrtc/builders/android_rel/builds/27452/steps/android_junit_tests

I will disable this step for now :(
Blockedon: 761720
Blockedon: -761720

Comment 18 by d...@chromium.org, Sep 4 2017

We did land the change on Friday, and it did fix things IIRC. However, we were forced to revert it for another reason :( Round two this week.
Project Member

Comment 19 by sheriffbot@chromium.org, Sep 4

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Status: Archived (was: Untriaged)

Sign in to add a comment