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

Issue 699715 link

Starred by 1 user

Issue metadata

Status: Archived
Owner:
Closed: Mar 2017
Cc:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug



Sign in to add a comment

wmtrix import is crashing

Project Member Reported by haddowk@chromium.org, Mar 8 2017

Issue description

Moblab does not have suite scheduler but wmatrix import depends on ini file from suite schedular

python /whining/src/backend/update_wmdb.py



INFO:root:Parsing and copying suite_scheduler.ini.
Traceback (most recent call last):
  File "/whining/src/backend/update_wmdb.py", line 133, in <module>
    schedule = get_schedule.get_schedule(settings.settings.suite_scheduler_ini)
  File "/whining/src/backend/get_schedule.py", line 52, in get_schedule
    with open(sched_ini) as f:
IOError: [Errno 2] No such file or directory: '/usr/local/autotest/suite_scheduler.ini'

 
Project Member

Comment 1 by bugdroid1@chromium.org, Mar 9 2017

Labels: merge-merged-release-R56-9000.B
The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/chromiumos-overlay/+/887b94d5a518cfa792cca95059c19a356a9dc7df

commit 887b94d5a518cfa792cca95059c19a356a9dc7df
Author: Keith Haddow <haddowk@chromium.org>
Date: Thu Mar 09 01:46:45 2017

[moblab/whining] Fix crash by creating expected configuration file.

Wmatrix import expect to find the suite_scheduler.ini file, moblab
does not have suite_scheduler so create an emtpy file to keep the
importer happy.

TEST=manual
BUG= chromium:699715 

Change-Id: I487a95822c77403959a76a94cd791c3d4b6403c6
Reviewed-on: https://chromium-review.googlesource.com/451800
Reviewed-by: Keith Haddow <haddowk@chromium.org>
Reviewed-by: Christine Lee <leecy@chromium.org>
Commit-Queue: Keith Haddow <haddowk@chromium.org>
Tested-by: Keith Haddow <haddowk@chromium.org>

[rename] https://crrev.com/887b94d5a518cfa792cca95059c19a356a9dc7df/chromeos-base/whining/whining-0.0.1.ebuild
[modify] https://crrev.com/887b94d5a518cfa792cca95059c19a356a9dc7df/chromeos-base/whining/files/apache-conf
[add] https://crrev.com/887b94d5a518cfa792cca95059c19a356a9dc7df/chromeos-base/whining/whining-0.0.1-r4.ebuild
[modify] https://crrev.com/887b94d5a518cfa792cca95059c19a356a9dc7df/chromeos-base/whining/files/whining_setup.conf

Project Member

Comment 2 by bugdroid1@chromium.org, Mar 9 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/board-overlays/+/d988b312c8e5ef413888b9967fa566d44c6c1197

commit d988b312c8e5ef413888b9967fa566d44c6c1197
Author: Keith Haddow <haddowk@chromium.org>
Date: Thu Mar 09 01:53:05 2017

[moblab/whining] increase the time between whining database loading.

We do not need it to be so fast, and when the device is heavily
loaded with autotest loading the wmatrix is a low priority.

TEST=None
BUG= chromium:699715 

Change-Id: I8f4193b7108000ce14c30aaa2a4152ccc939d0fe
Reviewed-on: https://chromium-review.googlesource.com/451938
Reviewed-by: Keith Haddow <haddowk@chromium.org>
Reviewed-by: Christine Lee <leecy@chromium.org>
Commit-Queue: Keith Haddow <haddowk@chromium.org>
Tested-by: Keith Haddow <haddowk@chromium.org>

[add] https://crrev.com/d988b312c8e5ef413888b9967fa566d44c6c1197/project-moblab/chromeos-base/chromeos-bsp-moblab/chromeos-bsp-moblab-0.0.5-r50.ebuild
[modify] https://crrev.com/d988b312c8e5ef413888b9967fa566d44c6c1197/project-moblab/chromeos-base/chromeos-bsp-moblab/files/init/whining-update-db.conf

Project Member

Comment 3 by bugdroid1@chromium.org, Mar 9 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/chromiumos-overlay/+/62688fd1c36b0d3cda6761d67b675723e14c0cfe

commit 62688fd1c36b0d3cda6761d67b675723e14c0cfe
Author: Keith Haddow <haddowk@chromium.org>
Date: Thu Mar 09 06:27:47 2017

[moblab/whining] Fix crash by creating expected configuration file.

Wmatrix import expect to find the suite_scheduler.ini file, moblab
does not have suite_scheduler so create an emtpy file to keep the
importer happy.

TEST=manual
BUG= chromium:699715 

Change-Id: I487a95822c77403959a76a94cd791c3d4b6403c6
Reviewed-on: https://chromium-review.googlesource.com/451723
Commit-Ready: Keith Haddow <haddowk@chromium.org>
Tested-by: Keith Haddow <haddowk@chromium.org>
Reviewed-by: Keith Haddow <haddowk@chromium.org>
Reviewed-by: Michael Tang <ntang@chromium.org>

[rename] https://crrev.com/62688fd1c36b0d3cda6761d67b675723e14c0cfe/chromeos-base/whining/whining-0.0.1.ebuild
[modify] https://crrev.com/62688fd1c36b0d3cda6761d67b675723e14c0cfe/chromeos-base/whining/files/apache-conf
[add] https://crrev.com/62688fd1c36b0d3cda6761d67b675723e14c0cfe/chromeos-base/whining/whining-0.0.1-r4.ebuild
[modify] https://crrev.com/62688fd1c36b0d3cda6761d67b675723e14c0cfe/chromeos-base/whining/files/whining_setup.conf

Project Member

Comment 4 by bugdroid1@chromium.org, Mar 9 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/board-overlays/+/0679ca9df4c30437b069cce9cd1178531ee3e1b3

commit 0679ca9df4c30437b069cce9cd1178531ee3e1b3
Author: Keith Haddow <haddowk@chromium.org>
Date: Thu Mar 09 06:27:47 2017

[moblab/whining] increase the time between whining database loading.

We do not need it to be so fast, and when the device is heavily
loaded with autotest loading the wmatrix is a low priority.

TEST=None
BUG= chromium:699715 

Change-Id: I8f4193b7108000ce14c30aaa2a4152ccc939d0fe
Reviewed-on: https://chromium-review.googlesource.com/451691
Commit-Ready: Keith Haddow <haddowk@chromium.org>
Tested-by: Keith Haddow <haddowk@chromium.org>
Tested-by: Jinjing Liang <jinjingl@google.com>
Reviewed-by: Keith Haddow <haddowk@chromium.org>
Reviewed-by: Jinjing Liang <jinjingl@google.com>

[rename] https://crrev.com/0679ca9df4c30437b069cce9cd1178531ee3e1b3/project-moblab/chromeos-base/chromeos-bsp-moblab/chromeos-bsp-moblab-0.0.5-r50.ebuild
[modify] https://crrev.com/0679ca9df4c30437b069cce9cd1178531ee3e1b3/project-moblab/chromeos-base/chromeos-bsp-moblab/files/init/whining-update-db.conf

Project Member

Comment 5 by bugdroid1@chromium.org, Mar 9 2017

Labels: merge-merged-release-R57-9202.B
The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/chromiumos-overlay/+/a66f265a68fd5800f6f290107821d91fa82e4cf7

commit a66f265a68fd5800f6f290107821d91fa82e4cf7
Author: Keith Haddow <haddowk@chromium.org>
Date: Thu Mar 09 21:01:12 2017

[moblab/whining] Fix crash by creating expected configuration file.

Wmatrix import expect to find the suite_scheduler.ini file, moblab
does not have suite_scheduler so create an emtpy file to keep the
importer happy.

TEST=manual
BUG= chromium:699715 

Change-Id: I487a95822c77403959a76a94cd791c3d4b6403c6
Reviewed-on: https://chromium-review.googlesource.com/451801
Reviewed-by: Keith Haddow <haddowk@chromium.org>
Reviewed-by: Jinjing Liang <jinjingl@google.com>
Commit-Queue: Keith Haddow <haddowk@chromium.org>
Tested-by: Keith Haddow <haddowk@chromium.org>

[rename] https://crrev.com/a66f265a68fd5800f6f290107821d91fa82e4cf7/chromeos-base/whining/whining-0.0.1.ebuild
[modify] https://crrev.com/a66f265a68fd5800f6f290107821d91fa82e4cf7/chromeos-base/whining/files/apache-conf
[add] https://crrev.com/a66f265a68fd5800f6f290107821d91fa82e4cf7/chromeos-base/whining/whining-0.0.1-r4.ebuild
[modify] https://crrev.com/a66f265a68fd5800f6f290107821d91fa82e4cf7/chromeos-base/whining/files/whining_setup.conf

Project Member

Comment 6 by bugdroid1@chromium.org, Mar 9 2017

Labels: merge-merged-release-R58-9334.B
The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/chromiumos-overlay/+/c61061281e4994d40fc032fcf487917ee14b7085

commit c61061281e4994d40fc032fcf487917ee14b7085
Author: Keith Haddow <haddowk@chromium.org>
Date: Thu Mar 09 21:03:46 2017

[moblab/whining] Fix crash by creating expected configuration file.

Wmatrix import expect to find the suite_scheduler.ini file, moblab
does not have suite_scheduler so create an emtpy file to keep the
importer happy.

TEST=manual
BUG= chromium:699715 

Change-Id: I487a95822c77403959a76a94cd791c3d4b6403c6
Reviewed-on: https://chromium-review.googlesource.com/451802
Reviewed-by: Keith Haddow <haddowk@chromium.org>
Reviewed-by: Jinjing Liang <jinjingl@google.com>
Commit-Queue: Keith Haddow <haddowk@chromium.org>
Tested-by: Keith Haddow <haddowk@chromium.org>

[rename] https://crrev.com/c61061281e4994d40fc032fcf487917ee14b7085/chromeos-base/whining/whining-0.0.1.ebuild
[modify] https://crrev.com/c61061281e4994d40fc032fcf487917ee14b7085/chromeos-base/whining/files/apache-conf
[add] https://crrev.com/c61061281e4994d40fc032fcf487917ee14b7085/chromeos-base/whining/whining-0.0.1-r4.ebuild
[modify] https://crrev.com/c61061281e4994d40fc032fcf487917ee14b7085/chromeos-base/whining/files/whining_setup.conf

Project Member

Comment 7 by bugdroid1@chromium.org, Mar 10 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/chromiumos-overlay/+/4c33512c3742f189fcb9b0c4526dcb7388634fbf

commit 4c33512c3742f189fcb9b0c4526dcb7388634fbf
Author: Keith Haddow <haddowk@chromium.org>
Date: Fri Mar 10 05:32:00 2017

[moblab] Fix issue where scheduler file is not created.

Unlike is shell the upstart does not like the file test code,
it is not required so just removing it. the ini file will just have
its date changed on boot, this is not a problem

TEST=manual
BUG= chromium:699715 

Change-Id: I585d627dcb96b544924039f5c5ded66862b744ae
Reviewed-on: https://chromium-review.googlesource.com/452722
Reviewed-by: Jinjing Liang <jinjingl@google.com>
Tested-by: Keith Haddow <haddowk@chromium.org>

[rename] https://crrev.com/4c33512c3742f189fcb9b0c4526dcb7388634fbf/chromeos-base/whining/whining-0.0.1-r5.ebuild
[modify] https://crrev.com/4c33512c3742f189fcb9b0c4526dcb7388634fbf/chromeos-base/whining/files/whining_setup.conf

Project Member

Comment 8 by bugdroid1@chromium.org, Mar 10 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/chromiumos-overlay/+/95d51f3a4fd4588bce88ea27b58b6e70114c4637

commit 95d51f3a4fd4588bce88ea27b58b6e70114c4637
Author: Keith Haddow <haddowk@chromium.org>
Date: Fri Mar 10 05:32:21 2017

[moblab] Fix issue where scheduler file is not created.

Unlike is shell the upstart does not like the file test code,
it is not required so just removing it. the ini file will just have
its date changed on boot, this is not a problem

TEST=manual
BUG= chromium:699715 

Change-Id: I585d627dcb96b544924039f5c5ded66862b744ae
Reviewed-on: https://chromium-review.googlesource.com/452724
Reviewed-by: Jinjing Liang <jinjingl@google.com>
Tested-by: Keith Haddow <haddowk@chromium.org>

[rename] https://crrev.com/95d51f3a4fd4588bce88ea27b58b6e70114c4637/chromeos-base/whining/whining-0.0.1-r5.ebuild
[modify] https://crrev.com/95d51f3a4fd4588bce88ea27b58b6e70114c4637/chromeos-base/whining/files/whining_setup.conf

Project Member

Comment 9 by bugdroid1@chromium.org, Mar 10 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/chromiumos-overlay/+/d522621020cc958ed9cba577c246d9f1d1a6ef91

commit d522621020cc958ed9cba577c246d9f1d1a6ef91
Author: Keith Haddow <haddowk@chromium.org>
Date: Fri Mar 10 06:18:43 2017

[moblab] Fix issue where scheduler file is not created.

Unlike is shell the upstart does not like the file test code,
it is not required so just removing it. the ini file will just have
its date changed on boot, this is not a problem

TEST=manual
BUG= chromium:699715 

Change-Id: I585d627dcb96b544924039f5c5ded66862b744ae
Reviewed-on: https://chromium-review.googlesource.com/452760
Commit-Ready: Keith Haddow <haddowk@chromium.org>
Tested-by: Keith Haddow <haddowk@chromium.org>
Reviewed-by: Keith Haddow <haddowk@chromium.org>
Reviewed-by: Jinjing Liang <jinjingl@google.com>

[rename] https://crrev.com/d522621020cc958ed9cba577c246d9f1d1a6ef91/chromeos-base/whining/whining-0.0.1-r5.ebuild
[modify] https://crrev.com/d522621020cc958ed9cba577c246d9f1d1a6ef91/chromeos-base/whining/files/whining_setup.conf

Project Member

Comment 10 by bugdroid1@chromium.org, Mar 17 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/chromiumos-overlay/+/8da8585d510857568ae9b99d21953e2c75313b44

commit 8da8585d510857568ae9b99d21953e2c75313b44
Author: Keith Haddow <haddowk@chromium.org>
Date: Fri Mar 17 21:37:44 2017

[moblab] Fix issue where scheduler file is not created.

Unlike is shell the upstart does not like the file test code,
it is not required so just removing it. the ini file will just have
its date changed on boot, this is not a problem

TEST=manual
BUG= chromium:699715 

Change-Id: I585d627dcb96b544924039f5c5ded66862b744ae
Reviewed-on: https://chromium-review.googlesource.com/452723
Reviewed-by: Keith Haddow <haddowk@chromium.org>
Reviewed-by: Jinsong Mu <jinsong@google.com>
Commit-Queue: Keith Haddow <haddowk@chromium.org>
Tested-by: Keith Haddow <haddowk@chromium.org>
Reviewed-by: Jinjing Liang <jinjingl@google.com>

[rename] https://crrev.com/8da8585d510857568ae9b99d21953e2c75313b44/chromeos-base/whining/whining-0.0.1-r5.ebuild
[modify] https://crrev.com/8da8585d510857568ae9b99d21953e2c75313b44/chromeos-base/whining/files/whining_setup.conf

Status: Fixed (was: Assigned)

Comment 12 by dchan@google.com, May 30 2017

Labels: VerifyIn-60
Labels: VerifyIn-61

Comment 14 by dchan@chromium.org, Jan 22 2018

Status: Archived (was: Fixed)

Sign in to add a comment