Module: tools
Branch: master
Commit: 68cdb4bfb942b0c98a3e65a8ddbf7e22f8a6ce18
URL: https://source.winehq.org/git/tools.git/?a=commit;h=68cdb4bfb942b0c98a3e65a…
Author: Francois Gouget <fgouget(a)codeweavers.com>
Date: Tue Sep 10 11:01:27 2019 +0200
testbot/TestAgent: Give up early connecting to invalid hostnames / ports.
Signed-off-by: Francois Gouget <fgouget(a)codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
testbot/lib/WineTestBot/TestAgent.pm | 15 ++++++++++++---
1 file changed, 12 insertions(+), 3 deletions(-)
diff --git a/testbot/lib/WineTestBot/TestAgent.pm b/testbot/lib/WineTestBot/TestAgent.pm
index ca81283..a4a2f49 100644
--- a/testbot/lib/WineTestBot/TestAgent.pm
+++ b/testbot/lib/WineTestBot/TestAgent.pm
@@ -905,6 +905,11 @@ sub _Connect($)
if (!$self->{fd})
{
alarm(0);
+ if ($!{EINVAL})
+ {
+ $self->_SetError($FATAL, "The '$self->{agenthost}' hostname or the '$self->{agentport}' port is invalid.");
+ die "socket";
+ }
$self->_SetError($FATAL, $!);
return; # out of eval
}
@@ -930,12 +935,16 @@ sub _Connect($)
$self->{rpc} = $OldRPC;
return 1;
}
+
if ($@)
{
- $self->_SetError($FATAL, "Timed out in $Step while connecting to $self->{connection}");
+ if ($@ eq "timeout")
+ {
+ $self->_SetError($FATAL, "Timed out in $Step while connecting to $self->{connection}");
+ }
+ last;
}
- # Ideally we should probably check the error and not retry if it is likely
- # permanent, like a hostname that does not resolve.
+
my $Remaining = $Attempt * $self->{cinterval} - (time() - $Start);
sleep($Remaining) if ($Remaining > 0);
}
Module: tools
Branch: master
Commit: faf695bc06e43191a6af80075c0eda859bdf7942
URL: https://source.winehq.org/git/tools.git/?a=commit;h=faf695bc06e43191a6af800…
Author: Francois Gouget <fgouget(a)codeweavers.com>
Date: Tue Sep 10 11:07:52 2019 +0200
testbot/Engine: Make sure not to schedule jobs on VMs undergoing maintenance!.
After a series of revert failures the scheduler would put the VM in
maintenance mode but still put it in the list of VMs that can be
reverted to run a new task.
Now such VMs are put in the busy list so no task is scheduled on them.
Signed-off-by: Francois Gouget <fgouget(a)codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
testbot/lib/WineTestBot/Engine/Scheduler.pm | 15 +++++++++++----
1 file changed, 11 insertions(+), 4 deletions(-)
diff --git a/testbot/lib/WineTestBot/Engine/Scheduler.pm b/testbot/lib/WineTestBot/Engine/Scheduler.pm
index 3ce9089..1b42ea9 100644
--- a/testbot/lib/WineTestBot/Engine/Scheduler.pm
+++ b/testbot/lib/WineTestBot/Engine/Scheduler.pm
@@ -274,15 +274,22 @@ sub _CheckAndClassifyVMs()
{
my $Errors = ($VM->Errors || 0) + 1;
$VM->Errors($Errors);
- $NewStatus = "maintenance" if ($Errors >= $MaxVMErrors);
+ if ($Errors >= $MaxVMErrors)
+ {
+ $NewStatus = "maintenance";
+ $Sched->{busyvms}->{$VMKey} = 1;
+ }
}
$VM->Status($NewStatus);
$VM->KillChild();
$VM->Save();
$VM->RecordResult($Sched->{records}, "boterror stuck process");
- $Sched->{lambvms}->{$VMKey} = 1;
- $Host->{dirty}++;
- $Host->{active}++;
+ if ($NewStatus eq "dirty")
+ {
+ $Sched->{lambvms}->{$VMKey} = 1;
+ $Host->{dirty}++;
+ $Host->{active}++;
+ }
}
elsif ($VM->Status =~ /^(?:dirty|running|reverting)$/)
{
Module: wine
Branch: master
Commit: 01b19b63a454aa455928c10c694895fdba901aba
URL: https://source.winehq.org/git/wine.git/?a=commit;h=01b19b63a454aa455928c10c…
Author: Kim Malmo <berencamlost(a)msn.com>
Date: Sun Sep 8 10:00:48 2019 +0000
po: Update Norwegian translation.
Signed-off-by: Kim Malmo <berencamlost(a)msn.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
po/nb_NO.po | 72 ++++++-------------------------------------------------------
1 file changed, 7 insertions(+), 65 deletions(-)
diff --git a/po/nb_NO.po b/po/nb_NO.po
index 0b6284a..2e345fc 100644
--- a/po/nb_NO.po
+++ b/po/nb_NO.po
@@ -172,7 +172,7 @@ msgid ""
"href=\"https://wiki.winehq.org/Mono\">https://wiki.winehq.org/Mono</a> for "
"details."
msgstr ""
-"Wine fant ikke wine-mono-pakken, som er nødvendig for at .NET programmer "
+"Wine fant ikke wine-mono pakken, som er nødvendig for at .NET programmer "
"skal fungere ordentlig. Wine kan laste ned og installere denne pakken for "
"deg.\n"
"\n"
@@ -7333,10 +7333,8 @@ msgid "Stream descriptor is not selected.\n"
msgstr "Enheten er ikke koblet til.\n"
#: mferror.mc:697
-#, fuzzy
-#| msgid "Index is missing.\n"
msgid "Source is missing.\n"
-msgstr "Indeksen mangler.\n"
+msgstr "Kilde mangler.\n"
#: mferror.mc:704
msgid "Topology loader does not support sink activates.\n"
@@ -11161,10 +11159,6 @@ msgid ""
msgstr "Tidsformatet til \"song pointer\" og SMPTE kan ikke brukes sammen."
#: winmm.rc:128
-#, fuzzy
-#| msgid ""
-#| "The specified MIDI port is already in use. Wait until it is free; then "
-#| "try again."
msgid ""
"The specified MIDI port is already in use. Wait until it is free, and then "
"try again."
@@ -11185,10 +11179,6 @@ msgid "An error occurred with the specified port."
msgstr "En feil oppstod med den oppgitte porten."
#: winmm.rc:133
-#, fuzzy
-#| msgid ""
-#| "All multimedia timers are being used by other applications. Quit one of "
-#| "these applications; then, try again."
msgid ""
"All multimedia timers are being used by other applications. Quit one of "
"these applications, and then try again."
@@ -15339,7 +15329,7 @@ msgstr "Vanlig metafil-framviser"
#: view.rc:50
msgid "Metafiles (*.wmf, *.emf)"
-msgstr ""
+msgstr "Metafiler (*.wmf, *.emf)"
#: wineboot.rc:31
msgid "Waiting for Program"
@@ -15510,16 +15500,12 @@ msgid "Drive configuration"
msgstr "Oppsett av stasjoner"
#: winecfg.rc:233
-#, fuzzy
-#| msgid ""
-#| "Failed to connect to the mount manager, the drive configuration cannot be "
-#| "edited."
msgid ""
"Failed to connect to the mount manager; the drive configuration cannot be "
"edited."
msgstr ""
-"Klarte ikke koble til monteringsbehandleren; diskstasjonene kan derfor ikke "
-"redigeres."
+"Klarte ikke koble til monteringsbehandleren; stasjonsoppsettet kan derfor "
+"ikke redigeres."
#: winecfg.rc:236
msgid "A&dd..."
@@ -15804,12 +15790,6 @@ msgid "System drive"
msgstr "Systemstasjon"
#: winecfg.rc:76
-#, fuzzy
-#| msgid ""
-#| "Are you sure you want to delete drive C?\n"
-#| "\n"
-#| "Most Windows applications expect drive C to exist, and will die messily "
-#| "if it doesn't. If you proceed remember to recreate it!"
msgid ""
"Are you sure you want to delete drive C?\n"
"\n"
@@ -16888,10 +16868,8 @@ msgid "Text documents (*.txt)"
msgstr "Tekstdokument (*.txt)"
#: wordpad.rc:149
-#, fuzzy
-#| msgid "Unicode text document (*.txt)"
msgid "Unicode text documents (*.txt)"
-msgstr "Unicode-tekstdokument (*.txt)"
+msgstr "Unicode-tekstdokumenter (*.txt)"
#: wordpad.rc:150
msgid "Rich text format (*.rtf)"
@@ -17093,42 +17071,6 @@ msgid "D"
msgstr "K"
#: xcopy.rc:81
-#, fuzzy
-#| msgid ""
-#| "XCOPY - Copies source files or directory trees to a destination.\n"
-#| "\n"
-#| "Syntax:\n"
-#| "XCOPY source [destination] [/I] [/S] [/Q] [/F] [/L] [/W] [/T] [/N] [/U]\n"
-#| "\t [/R] [/H] [/C] [/P] [/A] [/M] [/E] [/D] [/Y] [/-Y]\n"
-#| "\n"
-#| "Where:\n"
-#| "\n"
-#| "[/I] Assume directory if destination does not exist and copying two or\n"
-#| "\tmore files.\n"
-#| "[/S] Copy directories and subdirectories.\n"
-#| "[/E] Copy directories and subdirectories, including any empty ones.\n"
-#| "[/Q] Do not list names during copy, that is be quiet.\n"
-#| "[/F] Show full source and destination names during copy.\n"
-#| "[/L] Simulate operation, showing names which would be copied.\n"
-#| "[/W] Prompts before beginning the copy operation.\n"
-#| "[/T] Creates empty directory structure but does not copy files.\n"
-#| "[/Y] Suppress prompting when overwriting files.\n"
-#| "[/-Y] Enable prompting when overwriting files.\n"
-#| "[/P] Prompts on each source file before copying.\n"
-#| "[/N] Copy using short names.\n"
-#| "[/U] Copy only files which already exist in destination.\n"
-#| "[/R] Overwrite any read only files.\n"
-#| "[/H] Include hidden and system files in the copy.\n"
-#| "[/C] Continue even if an error occurs during the copy.\n"
-#| "[/A] Only copy files with archive attribute set.\n"
-#| "[/M] Only copy files with archive attribute set, removes the\n"
-#| "\tarchive attribute.\n"
-#| "[/K] Copy file attributes, without this attributes are not preserved.\n"
-#| "[/D | /D:m-d-y] Copy new files or those modified after the supplied "
-#| "date.\n"
-#| "\t\tIf no date is supplied, only copy if destination is older\n"
-#| "\t\tthan source.\n"
-#| "\n"
msgid ""
"XCOPY - Copies source files or directory trees to a destination.\n"
"\n"
@@ -17192,7 +17134,7 @@ msgstr ""
"[/A] Bare kopier filer som er markert som arkiv.\n"
"[/M] Bare kopier filer som er markert som arkiv; fjern denne\n"
"\tmerkingen etterpå.\n"
-"[/K] Kopier filegenskaper, uten denne blir ikke egenskapene preservert.\n"
+"[/K] Kopier filegenskaper; uten denne blir ikke egenskapene preservert.\n"
"[/D | /D:m-d-å] Kopier nye filer eller de som er endret etter\n"
"\t\tden oppgitte datoen. Hvis ingen dato oppgis kopieres det bare hvis\n"
"\t\tmålet er eldre enn kilden.\n"