mirror of https://github.com/BOINC/boinc.git
ignore aborted results in simulation
svn path=/trunk/boinc/; revision=9020
This commit is contained in:
parent
d56df44bbf
commit
c87b5a9426
|
@ -14116,3 +14116,10 @@ Charlie 1 Dec 2005
|
||||||
mac_build/
|
mac_build/
|
||||||
boinc.pbproj/
|
boinc.pbproj/
|
||||||
project.pbxproj
|
project.pbxproj
|
||||||
|
|
||||||
|
David 1 Dec 2005
|
||||||
|
- core client: skip aborted results in round-robin simulation
|
||||||
|
(from John McLeod)
|
||||||
|
|
||||||
|
client/
|
||||||
|
cs_scheduler.C
|
||||||
|
|
|
@ -1097,7 +1097,8 @@ bool CLIENT_STATE::no_work_for_a_cpu() {
|
||||||
return ncpus > count;
|
return ncpus > count;
|
||||||
}
|
}
|
||||||
|
|
||||||
// more detailed variant
|
// return true if round-robin scheduling will miss a deadline
|
||||||
|
//
|
||||||
bool CLIENT_STATE::rr_misses_deadline(double per_cpu_proc_rate, double rrs) {
|
bool CLIENT_STATE::rr_misses_deadline(double per_cpu_proc_rate, double rrs) {
|
||||||
PROJECT* p, *pbest;
|
PROJECT* p, *pbest;
|
||||||
RESULT* rp, *rpbest;
|
RESULT* rp, *rpbest;
|
||||||
|
@ -1120,6 +1121,7 @@ bool CLIENT_STATE::rr_misses_deadline(double per_cpu_proc_rate, double rrs) {
|
||||||
for (i=0; i<results.size(); i++) {
|
for (i=0; i<results.size(); i++) {
|
||||||
rp = results[i];
|
rp = results[i];
|
||||||
if (!rp->runnable()) continue;
|
if (!rp->runnable()) continue;
|
||||||
|
if (rp->aborted_via_gui) continue;
|
||||||
if (rp->project->non_cpu_intensive) continue;
|
if (rp->project->non_cpu_intensive) continue;
|
||||||
rp->rrsim_cpu_left = rp->estimated_cpu_time_remaining();
|
rp->rrsim_cpu_left = rp->estimated_cpu_time_remaining();
|
||||||
p = rp->project;
|
p = rp->project;
|
||||||
|
|
|
@ -67,6 +67,9 @@ list_item("-allow_remote_gui_rpc",
|
||||||
list_item("-dir abs_path",
|
list_item("-dir abs_path",
|
||||||
"Use the given directory as BOINC home"
|
"Use the given directory as BOINC home"
|
||||||
);
|
);
|
||||||
|
list_item("-detach",
|
||||||
|
"Detach from console (Windows only)"
|
||||||
|
);
|
||||||
list_item("-no_gui_rpc",
|
list_item("-no_gui_rpc",
|
||||||
"Don't allow GUI RPCs; don't try to create socket."
|
"Don't allow GUI RPCs; don't try to create socket."
|
||||||
);
|
);
|
||||||
|
|
|
@ -122,6 +122,7 @@ show_name("John Flynn III");
|
||||||
show_name("Michael Gary");
|
show_name("Michael Gary");
|
||||||
show_name("Marco Gazzoni");
|
show_name("Marco Gazzoni");
|
||||||
show_name("Gary Gibson");
|
show_name("Gary Gibson");
|
||||||
|
show_name("David Goodenough");
|
||||||
show_name("Walt Gribben");
|
show_name("Walt Gribben");
|
||||||
show_name("John F. Hall");
|
show_name("John F. Hall");
|
||||||
show_name("Jim Harris");
|
show_name("Jim Harris");
|
||||||
|
|
|
@ -1,50 +1,80 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
require_once("docutil.php");
|
||||||
|
|
||||||
|
page_head("BOINC test cases");
|
||||||
echo "
|
echo "
|
||||||
<h2>Basic tests</h2>
|
|
||||||
<p>
|
<p>
|
||||||
For each releases, alpha testers should do
|
For each release, please do
|
||||||
<ol>
|
<ol>
|
||||||
<li> The platform-independent tests
|
<li> The general tests
|
||||||
<li> As many of the other test groups as possible.
|
<li> As many of the other test groups as possible.
|
||||||
</ol>
|
</ol>
|
||||||
|
|
||||||
<h3>Platform-independent tests</h3>
|
<h3>General tests</h3>
|
||||||
<p>Tests to do on all platforms.
|
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li> Upgrade install:
|
<li>
|
||||||
Note fraction done of existing results.
|
Note fraction done of existing results.
|
||||||
Install BOINC on top of existing install.
|
Install the new version on top of an older version.
|
||||||
|
Make sure BOINC client and manager start up.
|
||||||
Make sure results resume with same fraction done.
|
Make sure results resume with same fraction done.
|
||||||
|
<li>
|
||||||
Make sure graphics work (for all apps that support graphics).
|
Make sure graphics work (for all apps that support graphics).
|
||||||
|
<li>
|
||||||
Make sure CPU time and fraction done are increasing for running apps.
|
Make sure CPU time and fraction done are increasing for running apps.
|
||||||
<li>Check all tabs in BOINC manager, make sure data is there.
|
<li>Check all tabs in BOINC manager, make sure data is there.
|
||||||
|
|
||||||
<li> Result completion:
|
<li> Detach from a project (e.g., alpha test) and reattach.
|
||||||
Let BOINC run long enough to complete a result.
|
Make sure new work gets downloaded.
|
||||||
|
|
||||||
|
<li> Let BOINC run long enough to complete a result.
|
||||||
Verify that output file is uploaded,
|
Verify that output file is uploaded,
|
||||||
that the result is reported,
|
that the result is reported,
|
||||||
and that new work is downloaded and started.
|
and that new work is downloaded and started.
|
||||||
<li> Suspend/resume features:
|
|
||||||
suspend and resume results,
|
|
||||||
file transfers, and projects.
|
|
||||||
|
|
||||||
<li> Download restart:
|
<li> Exit BOINC in the middle of a long file download.
|
||||||
Exit BOINC in the middle of a long file download.
|
|
||||||
Note the fraction done.
|
Note the fraction done.
|
||||||
Restart BOINC.
|
Restart BOINC.
|
||||||
Verify that download resumes from the same point.
|
Verify that download resumes from the same point.
|
||||||
|
|
||||||
|
<li> Suspend/resume features:
|
||||||
|
suspend and resume results,
|
||||||
|
file transfers, and projects.
|
||||||
<li> Test activity modes 'suspended', 'based on preferences', 'always'.
|
<li> Test activity modes 'suspended', 'based on preferences', 'always'.
|
||||||
|
|
||||||
|
<li> Shut down your computer and reboot it.
|
||||||
|
Make sure client and manager start up OK.
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<h3>Clean install</h3>
|
||||||
|
<ul>
|
||||||
|
<li> Uninstall BOINC.
|
||||||
|
<li> Remove BOINC directory.
|
||||||
|
<li> Install new BOINC.
|
||||||
|
<li> Verify that client and manager run,
|
||||||
|
and manager brings up the Attach Project wizard.
|
||||||
|
<li> Attach to a project (e.g. alpha)
|
||||||
|
and make sure work is downloaded and started.
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<h3> Preferences tests</h3>
|
||||||
|
<ul>
|
||||||
<li> Test 'don't run when user active' preference.
|
<li> Test 'don't run when user active' preference.
|
||||||
<li> Test 'leave applications in memory' preference.
|
<li> Test 'leave applications in memory' preference.
|
||||||
<li> Test scheduling period preference.
|
<li> Test scheduling period preference.
|
||||||
<li> Test #processors preference.
|
<li> Test #processors preference.
|
||||||
<li> Test 'use network between hours' preference.
|
<li> Test 'use network between hours' preference.
|
||||||
|
<li> Test 'do work between hours' preference.
|
||||||
|
<li> Test venue mechanism
|
||||||
|
</ul>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
<h3>Windows single-user</h3>
|
<h3>Windows single-user</h3>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Check to make sure that only the administrative and installing account can
|
<li>Check that only the administrative and installing account can
|
||||||
|
control the core client (via the BOINC manager)
|
||||||
and view the BOINC directory.
|
and view the BOINC directory.
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
@ -65,30 +95,25 @@ Verify that download resumes from the same point.
|
||||||
system.
|
system.
|
||||||
<li>Manager should be able to communicate with the core client without issue.
|
<li>Manager should be able to communicate with the core client without issue.
|
||||||
</ul>
|
</ul>
|
||||||
<h3>Mac OS X</h3>
|
|
||||||
<h3>Linux/x86 graphical</h3>
|
|
||||||
<h3>Linux/x86 command-line</h3>
|
|
||||||
<h3>Tests for modem-connected computers</h3>
|
<h3>Tests for modem-connected computers</h3>
|
||||||
<ul>
|
<ul>
|
||||||
|
<li> Do General Tests from a modem-connected computer.
|
||||||
<li> Test 'confirm before connect' preference.
|
<li> Test 'confirm before connect' preference.
|
||||||
<li> Test 'Disconnect when done' preference.
|
<li> Test 'Disconnect when done' preference.
|
||||||
<li> Test processing only when idle.
|
|
||||||
</ul>
|
</ul>
|
||||||
|
<h3>Tests for computers with personal firewalls</h3>
|
||||||
|
<li> Do General tests on a computer that uses a personal firewall
|
||||||
|
(ZoneAlarm, Symantec, Windows XP, etc.).
|
||||||
|
In your test report Comments field, indicate the type of personal firewall.
|
||||||
<h3>Tests for computers connected by HTTP proxy</h3>
|
<h3>Tests for computers connected by HTTP proxy</h3>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Check HTTP proxy if you have one.
|
<li> Do General Tests on a computer connected via an HTTP proxy.
|
||||||
|
Use authentication if possible.
|
||||||
</ul>
|
</ul>
|
||||||
<h3>Tests for computers connected by SOCKS proxy</h3>
|
<h3>Tests for computers connected by SOCKS proxy</h3>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Check SOCKS proxy if you have one.
|
<li> Do General Tests on a computer connected via a SOCKS proxy.
|
||||||
</ul>
|
Use authentication if possible.
|
||||||
<h3>Tests for computers connected by HTTP proxy with authentication</h3>
|
|
||||||
<ul>
|
|
||||||
<li>Check HTTP Authentication if you use authentication. (basic, digest, NTLM, Negotiate, kerberos)
|
|
||||||
</ul>
|
|
||||||
<h3>Tests for computers connected by SOCKS proxy with authentication</h3>
|
|
||||||
<ul>
|
|
||||||
<li>Check SOCKS Authentication if you use authentication.
|
|
||||||
</ul>
|
</ul>
|
||||||
<h3>Tests for laptops</h3>
|
<h3>Tests for laptops</h3>
|
||||||
<ul>
|
<ul>
|
||||||
|
@ -103,33 +128,20 @@ Verify that download resumes from the same point.
|
||||||
<li> Test power save modes
|
<li> Test power save modes
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<h3>BOINC Manager wizard tests</h3>
|
<h3>BOINC Manager Attach Project Wizard</h3>
|
||||||
<ul>
|
<ul>
|
||||||
<li> Test normal case, invalid urls, valid urls, projects that are up, projects that are down.
|
<li> Test normal case, invalid URL, valid but non-BOINC URL,
|
||||||
<li> Test good passwords, bad password, good usernames, bad usernames.
|
projects that are down.
|
||||||
<li> Test existing accounts, create new accounts.
|
<li> Test bad password, bad username
|
||||||
<li> Test against projects that don't support usernames and passwords.
|
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<hr>
|
<h3>GUI RPC authentication</h3>
|
||||||
<h2>Advanced tests</h2>
|
|
||||||
<p>
|
|
||||||
Optional tests.
|
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li> Clean install:
|
|
||||||
Uninstall BOINC.
|
|
||||||
Remove BOINC directory.
|
|
||||||
Install new BOINC.
|
|
||||||
Verify that manager starts, asks for project info.
|
|
||||||
|
|
||||||
<li> Try to connect to core client
|
<li> Try to connect to core client
|
||||||
with bad password, from host not on list, etc.
|
with bad password, from host not on list, etc.
|
||||||
<li> (Unix) Try to overwrite executable file logged in
|
|
||||||
as different user.
|
|
||||||
|
|
||||||
<li> Test 'do work between hours' preference.
|
|
||||||
<li> Test venue mechanism
|
|
||||||
</ul>
|
</ul>
|
||||||
";
|
";
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in New Issue