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

Issue 754083 link

Starred by 1 user

Issue metadata

Status: Archived
Owner: ----
Closed: May 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

setup_dev_autotest.sh breaks for me.

Project Member Reported by dgarr...@chromium.org, Aug 10 2017

Issue description

Running setup_dev_autotest.sh fails on my workstation. This means I can't run necessary shard management scripts, even during an emergency outage like  https://crbug.com/754070 .



<* lots of healthy looking logs *>
17:19:24 INFO | Scanning /usr/local/autotest/client/profilers
17:19:24 WARNI| Skipping /usr/local/autotest/client/profilers/custom_perf/custom_perf.py, missing docstring
Done!

Initializing chromeos_lab_servers mysql DB...
Migration starting for database chromeos_lab_servers
Applying migration 001_initial_db up
Applying migration 002_add_server_attributes up
Applying migration 003_correct_date_modified up
At version 3
Migration complete
Done!

Done!

Configuring apache to run the autotest web interface...
ERROR: Site 000-default does not exist!
ERROR: Site default does not exist!
Enabling site autotest-server.
To activate the new configuration, you need to run:
  service apache2 reload
ERROR: Module rewrite does not exist!
clean$sudo service apache2 reload
/etc/init.d/apache2: line 64: /etc/apache2/envvars: No such file or directory
/etc/init.d/apache2: line 76: /etc/apache2/envvars: No such file or directory
ERROR: APACHE_PID_FILE needs to be defined in /etc/apache2/envvars

 
Labels: Chase-Pending

Comment 2 by nxia@chromium.org, Aug 11 2017

Owner: shuqianz@chromium.org
"ERROR: Module rewrite does not exist!" is this a missing module ?
Owner: dgarr...@chromium.org
I've provisioned 8 servers this week successfully. So the provision actually used setup_dev_autotest.sh to setup the autotest on the servers. I believe the script itself doesn't have any issues. It maybe caused by your local setup?
My setup is as close to clean as I can manage, though I have setup_lab_tools.


Which local script or flow required you to use setup_set_autotest.sh ?

I don't think that should be required, and if it is we should expunge such a requirement.
Cc: jrbarnette@chromium.org
Labels: -Chase-Pending
Owner: ----
Status: Archived (was: Untriaged)

Sign in to add a comment