Skip Menu |

This queue is for tickets about the Geo-OGC-Service-WFS CPAN distribution.

Report information
The Basics
Id: 120667
Status: resolved
Worked: 30 min
Priority: 0/
Queue: Geo-OGC-Service-WFS

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.09
Fixed in: (no value)



Subject: Test suite started to fail
Since some days I observe the following (new) test failure on my smokers: ... # Failed test at t/Geo-OGC-Service-WFS.t line 88. # got: '1' # expected: '0' # Looks like you failed 1 test of 6. t/Geo-OGC-Service-WFS.t .. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/6 subtests ... Looking with truss while executing the failing test script strange things happen (stat() calls on a XML snippet): 26873: 0.535863077 0.000146108 stat("<?xml version="1.0" encoding="UTF-8"?><ExceptionReport version="1.0"><Exception locator="typeName" exceptionCode="InvalidParameterValue"><ExceptionText>Type 'x' is not available</ExceptionText></Exception></ExceptionReport>",0x760248) ERR#2 'No such file or directory' 26873: 0.536485782 0.000009219 stat("<?xml version="1.0" encoding="UTF-8"?><ExceptionReport version="1.0"><Exception exceptionCode="InvalidParameterValue"><ExceptionText>Type 'x' is not available</ExceptionText></Exception></ExceptionReport>",0x760248) ERR#2 'No such file or directory'
Fixed in 0.10. The issue was that a change in the source was not reflected in the tests. I also changed the tests so that the expected XML and received XML are pretty printed in the case they semantically differ (test fails). The failure message was not informative before. On ma 20.maalis 2017 15:49:23, SREZIC wrote: Show quoted text
> Since some days I observe the following (new) test failure on my > smokers: > > ... > # Failed test at t/Geo-OGC-Service-WFS.t line 88. > # got: '1' > # expected: '0' > # Looks like you failed 1 test of 6. > t/Geo-OGC-Service-WFS.t .. > Dubious, test returned 1 (wstat 256, 0x100) > Failed 1/6 subtests > ... > > > Looking with truss while executing the failing test script strange > things happen (stat() calls on a XML snippet): > > 26873: 0.535863077 0.000146108 stat("<?xml version="1.0" > encoding="UTF-8"?><ExceptionReport version="1.0"><Exception > locator="typeName" > exceptionCode="InvalidParameterValue"><ExceptionText>Type 'x' is not > available</ExceptionText></Exception></ExceptionReport>",0x760248) > ERR#2 'No such file or directory' > 26873: 0.536485782 0.000009219 stat("<?xml version="1.0" > encoding="UTF-8"?><ExceptionReport version="1.0"><Exception > exceptionCode="InvalidParameterValue"><ExceptionText>Type 'x' is not > available</ExceptionText></Exception></ExceptionReport>",0x760248) > ERR#2 'No such file or directory'