INB:inb.bsc.es:getPersistentFile:1

This is a test of the INB:inb.bsc.es:getPersistentFile service.
Test filesDownload the files for this test
Test runRun test now
Support reference#868-1305
INB:inb.bsc.es:getPersistentFile service test (automatically generated $Rev: 20 $)
Show/hide recent test logs
view log 3 days agoFAILED

Test began: 2012-02-03 15:00:24 Test ended: 2012-02-03 15:00:25 Result : Test failure ------ stderr and stdout follow ------ ERROR[INB:inb.bsc.es:getPersistentFile][on call]: 404 Not FoundDownload this log...404 Not Found 404 Not Found
view log 4 days agoFAILED

Test began: 2012-02-02 19:54:16 Test ended: 2012-02-02 19:54:17 Result : Test failure ------ stderr and stdout follow ------ ERROR[INB:inb.bsc.es:getPersistentFile][on call]: 404 Not FoundDownload this log...404 Not Found 404 Not Found
view log 6 days agoFAILED

Test began: 2012-01-31 08:49:45 Test ended: 2012-01-31 08:49:46 Result : Test failure ------ stderr and stdout follow ------ ERROR[INB:inb.bsc.es:getPersistentFile][on call]: 404 Not FoundDownload this log...404 Not Found 404 Not Found
view log 2 weeks agoFAILED

Test began: 2012-01-25 23:30:08 Test ended: 2012-01-25 23:30:10 Result : Test failure ------ stderr and stdout follow ------ ERROR[INB:inb.bsc.es:getPersistentFile][on call]: 404 Not FoundDownload this log...404 Not Found 404 Not Found
view log 4 weeks agoFAILED

Test began: 2012-01-10 23:41:07 Test ended: 2012-01-10 23:41:08 Result : Test failure ------ stderr and stdout follow ------ ERROR[INB:inb.bsc.es:getPersistentFile][on call]: 404 Not FoundDownload this log...404 Not Found 404 Not Found
view log 4 weeks agoFAILED

Test began: 2012-01-09 09:18:40 Test ended: 2012-01-09 09:18:41 Result : Test failure ------ stderr and stdout follow ------ ERROR[INB:inb.bsc.es:getPersistentFile][on call]: 404 Not FoundDownload this log...404 Not Found 404 Not Found
view log 1 month agoFAILED

Test began: 2012-01-05 23:10:00 Test ended: 2012-01-05 23:10:02 Result : Test failure ------ stderr and stdout follow ------ ERROR[INB:inb.bsc.es:getPersistentFile][on call]: 404 Not FoundDownload this log...404 Not Found 404 Not Found
view log 1 month agoFAILED

Test began: 2012-01-01 07:58:33 Test ended: 2012-01-01 07:58:35 Result : Test failure ------ stderr and stdout follow ------ ERROR[INB:inb.bsc.es:getPersistentFile][on call]: 404 Not FoundDownload this log...404 Not Found 404 Not Found
view log 2 months agoFAILED

Test began: 2011-12-12 18:21:07 Test ended: 2011-12-12 18:21:09 Result : Test failure ------ stderr and stdout follow ------ ERROR[INB:inb.bsc.es:getPersistentFile][on call]: 404 Not FoundDownload this log...404 Not Found 404 Not Found
view log 2 months agoFAILED

Test began: 2011-12-11 18:33:43 Test ended: 2011-12-11 18:33:45 Result : Test failure ------ stderr and stdout follow ------ ERROR[INB:inb.bsc.es:getPersistentFile][on call]: 404 Not FoundDownload this log...404 Not Found 404 Not Found
This test consists of the following files:
INBtemplateTester.pl
#!/usr/bin/perl -W
# $Id: INBtemplateTester.pl 19 2009-04-21 16:14:57Z jmfernandez $
use LWP::UserAgent;
use XML::LibXML;
use strict;
my($EMBRACETESTagent)='INB EMBRACETestBot 0.1';
my(%TESThash)=(
'INB' => 'http://www.inab.org',
'INB-dev' => 'http://moby-dev.inab.org'
);
my($ua)=LWP::UserAgent->new('agent'=>$EMBRACETESTagent);
my($TESTkey)='INB';
my($TESTauthURI)='inb.bsc.es';
my($TESTserviceName)='getPersistentFile';
my($compname)="$TESTkey:$TESTauthURI:$TESTserviceName";
if(exists($TESThash{$TESTkey})) {
my($requri)=$TESThash{$TESTkey}."/cgi-bin/runTestResults?authURI=$TESTauthURI&serviceName=$TESTserviceName";
my($resp)=$ua->get($requri);
if($resp->is_success()) {
my($testStat)=2; # By default, a warning
my($testMessage)='No test has been set for this service in INB';
eval {
my($parser)=XML::LibXML->new();
my($resdoc)=$parser->parse_string($resp->decoded_content());
my($root)=$resdoc->documentElement();
foreach my $child ($root->childNodes()) {
if($child->nodeType() == XML::LibXML::XML_ELEMENT_NODE) {
my($status)=$child->getAttribute('result');
$testStat=($status eq 'ok')?0:(($status eq 'warning')?2:1);
$testMessage=$child->textContent();
last;
}
}
};
if($@) {
print "ERROR[$compname][parsing XML]: ",$@,"\n";
exit 1;
} else {
print "Message[$compname]: ",$testMessage,"\n";
exit $testStat;
}
} else {
print "ERROR[$compname][on call]: ",$resp->status_line(),"\t",$resp->content(),"\n";
exit 1;
}
} else {
print 'FATAL INTERNAL ERROR [',$compname,']($Rev: 19 $). Please contact with the reponsible.',"\n";
exit 1;
}
»
- Login to post comments