Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-42715

xUnit does not support PHPUnit 5.x skipped attribute

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: xunit-plugin
    • Labels:
      None
    • Environment:
      Jenkins 2.32.3
      xUnit 1.102
      PHPUnit 6.0.8
    • Similar Issues:

      Description

      Mar 13, 2017 1:16:38 PM org.jenkinsci.plugins.xunit.service.XUnitService errorSystemLogger SEVERE: [xUnit] - The result file '/var/www/acme/integration/build/logs/junit.xml' for the metric 'PHPUnit' is not valid. The result file has been skipped.

      The mentiond junit.xml file reads as following:

      <?xml version="1.0" encoding="UTF-8"?>
      <testsuites>
        <testsuite name="ProjectName" tests="63" assertions="578" errors="0" failures="0" skipped="3" time="40.873646">
          <testsuite name="MyACMEFrontendBundle\Tests\HolidaysTest" file="/var/www/acme/integration/src/MyACMEFrontendBundle/Tests/HolidaysTest.php" tests="1" assertions="1" errors="0" failures="0" skipped="0" time="0.441939">
            <testcase name="testMayFirstIsConsideredHoliday" class="MyACMEFrontendBundle\Tests\HolidaysTest" file="/var/www/acme/integration/src/MyACMEFrontendBundle/Tests/HolidaysTest.php" line="10" assertions="1" time="0.441939"/>
          </testsuite>
          <testsuite name="MyACMEFrontendBundle\Tests\Infrastructure\PharmacyEmergencySearch\DaysUnsectionedPharmaciesTest" file="/var/www/acme/integration/src/MyACMEFrontendBundle/Tests/Infrastructure/PharmacyEmergencySearch/DaysUnsectionedPharmaciesTest.php" tests="2" assertions="15" errors="0" failures="0" skipped="0" time="0.015518">
            <testcase name="testCountWorksProperly" class="MyACMEFrontendBundle\Tests\Infrastructure\PharmacyEmergencySearch\DaysUnsectionedPharmaciesTest" file="/var/www/acme/integration/src/MyACMEFrontendBundle/Tests/Infrastructure/PharmacyEmergencySearch/DaysUnsectionedPharmaciesTest.php" line="15" assertions="3" time="0.010171"/>
            <testcase name="testIteratorReturnsPharmacyRepresentationInstances" class="MyACMEFrontendBundle\Tests\Infrastructure\PharmacyEmergencySearch\DaysUnsectionedPharmaciesTest" file="/var/www/acme/integration/src/MyACMEFrontendBundle/Tests/Infrastructure/PharmacyEmergencySearch/DaysUnsectionedPharmaciesTest.php" line="24" assertions="12" time="0.005347"/>
          </testsuite>
          <testsuite name="MyACMEFrontendBundle\Tests\Infrastructure\PharmacyEmergencySearch\DistanceOrderedTest" file="/var/www/acme/integration/src/MyACMEFrontendBundle/Tests/Infrastructure/PharmacyEmergencySearch/DistanceOrderedTest.php" tests="1" assertions="1" errors="0" failures="0" skipped="0" time="0.003175">
            <testcase name="testOrdering" class="MyACMEFrontendBundle\Tests\Infrastructure\PharmacyEmergencySearch\DistanceOrderedTest" file="/var/www/acme/integration/src/MyACMEFrontendBundle/Tests/Infrastructure/PharmacyEmergencySearch/DistanceOrderedTest.php" line="12" assertions="1" time="0.003175"/>
          </testsuite>
          <testsuite name="MyACMEFrontendBundle\Tests\Infrastructure\PharmacyEmergencySearch\PharmacyRepresentationTest" file="/var/www/acme/integration/src/MyACMEFrontendBundle/Tests/Infrastructure/PharmacyEmergencySearch/PharmacyRepresentationTest.php" tests="1" assertions="3" errors="0" failures="0" skipped="0" time="0.002556">
            <testcase name="testJsonSerialization" class="MyACMEFrontendBundle\Tests\Infrastructure\PharmacyEmergencySearch\PharmacyRepresentationTest" file="/var/www/acme/integration/src/MyACMEFrontendBundle/Tests/Infrastructure/PharmacyEmergencySearch/PharmacyRepresentationTest.php" line="13" assertions="3" time="0.002556"/>
          </testsuite>
          <testsuite name="MyACMEFrontendBundle\Tests\Infrastructure\PharmacyEmergencySearch\RepresentationTest" file="/var/www/acme/integration/src/MyACMEFrontendBundle/Tests/Infrastructure/PharmacyEmergencySearch/RepresentationTest.php" tests="4" assertions="6" errors="0" failures="0" skipped="0" time="0.009070">
            <testcase name="testConstructorFailsOnInvalidResponseType" class="MyACMEFrontendBundle\Tests\Infrastructure\PharmacyEmergencySearch\RepresentationTest" file="/var/www/acme/integration/src/MyACMEFrontendBundle/Tests/Infrastructure/PharmacyEmergencySearch/RepresentationTest.php" line="13" assertions="1" time="0.001707"/>
            <testcase name="testConstructorFailsOnInvalidResponseContent" class="MyACMEFrontendBundle\Tests\Infrastructure\PharmacyEmergencySearch\RepresentationTest" file="/var/www/acme/integration/src/MyACMEFrontendBundle/Tests/Infrastructure/PharmacyEmergencySearch/RepresentationTest.php" line="19" assertions="1" time="0.002521"/>
            <testcase name="testRepresentationIsInstanceOfArrayAccess" class="MyACMEFrontendBundle\Tests\Infrastructure\PharmacyEmergencySearch\RepresentationTest" file="/var/www/acme/integration/src/MyACMEFrontendBundle/Tests/Infrastructure/PharmacyEmergencySearch/RepresentationTest.php" line="25" assertions="1" time="0.002039"/>
            <testcase name="testArrayAccessOffsetSetGetAndUnset" class="MyACMEFrontendBundle\Tests\Infrastructure\PharmacyEmergencySearch\RepresentationTest" file="/var/www/acme/integration/src/MyACMEFrontendBundle/Tests/Infrastructure/PharmacyEmergencySearch/RepresentationTest.php" line="31" assertions="3" time="0.002803"/>
          </testsuite>
          <testsuite name="MyACMEFrontendBundle\Tests\Infrastructure\PreOrderTranslatorTest" file="/var/www/acme/integration/src/MyACMEFrontendBundle/Tests/Infrastructure/PreOrderTranslatorTest.php" tests="3" assertions="3" errors="0" failures="0" skipped="0" time="0.038786">
            <testcase name="toApiPreOrderItemsFromFormReservationSheetReturnsOneItemForNonPrescriptionDto" class="MyACMEFrontendBundle\Tests\Infrastructure\PreOrderTranslatorTest" file="/var/www/acme/integration/src/MyACMEFrontendBundle/Tests/Infrastructure/PreOrderTranslatorTest.php" line="15" assertions="1" time="0.003400"/>
            <testcase name="toApiPreOrderItemsFromFormReservationSheetLooksCorrectly" class="MyACMEFrontendBundle\Tests\Infrastructure\PreOrderTranslatorTest" file="/var/www/acme/integration/src/MyACMEFrontendBundle/Tests/Infrastructure/PreOrderTranslatorTest.php" line="25" assertions="1" time="0.001671"/>
            <testcase name="toApiPreOrderFromFormReservationLooksCorrectly" class="MyACMEFrontendBundle\Tests\Infrastructure\PreOrderTranslatorTest" file="/var/www/acme/integration/src/MyACMEFrontendBundle/Tests/Infrastructure/PreOrderTranslatorTest.php" line="42" assertions="1" time="0.033715"/>
          </testsuite>
          <testsuite name="MyACMEFrontendBundle\Tests\Infrastructure\Services\ReservationServiceFunctionalTest" file="/var/www/acme/integration/src/MyACMEFrontendBundle/Tests/Infrastructure/Services/ReservationServiceFunctionalTest.php" tests="1" assertions="1" errors="0" failures="0" skipped="1" time="0.220356">
            <testcase name="makeSampleReservation" class="MyACMEFrontendBundle\Tests\Infrastructure\Services\ReservationServiceFunctionalTest" file="/var/www/acme/integration/src/MyACMEFrontendBundle/Tests/Infrastructure/Services/ReservationServiceFunctionalTest.php" line="33" assertions="1" time="0.220356">
              <skipped/>
            </testcase>
          </testsuite>
          <testsuite name="MyACMEFrontendBundle\Tests\Infrastructure\Services\ReservationServiceTest" file="/var/www/acme/integration/src/MyACMEFrontendBundle/Tests/Infrastructure/Services/ReservationServiceTest.php" tests="2" assertions="1" errors="0" failures="0" skipped="1" time="0.012408">
            <testcase name="testReservationForApoIdWithoutPicturesSendsProperMessage" class="MyACMEFrontendBundle\Tests\Infrastructure\Services\ReservationServiceTest" file="/var/www/acme/integration/src/MyACMEFrontendBundle/Tests/Infrastructure/Services/ReservationServiceTest.php" line="17" assertions="1" time="0.010811"/>
            <testcase name="testReservationForApoIdWithPicturesSendsProperMessage" class="MyACMEFrontendBundle\Tests\Infrastructure\Services\ReservationServiceTest" file="/var/www/acme/integration/src/MyACMEFrontendBundle/Tests/Infrastructure/Services/ReservationServiceTest.php" line="37" assertions="0" time="0.001597">
              <skipped/>
            </testcase>
          </testsuite>
          <testsuite name="MyACMEFrontendBundle\Tests\Routing\PharmacyHostTest" file="/var/www/acme/integration/src/MyACMEFrontendBundle/Tests/Routing/PharmacyHostTest.php" tests="1" assertions="1" errors="0" failures="0" skipped="0" time="0.003374">
            <testcase name="idnaRequestHostsAreResolvedCorrectly" class="MyACMEFrontendBundle\Tests\Routing\PharmacyHostTest" file="/var/www/acme/integration/src/MyACMEFrontendBundle/Tests/Routing/PharmacyHostTest.php" line="11" assertions="1" time="0.003374"/>
          </testsuite>
          <testsuite name="MyACMEFrontendBundle\Tests\Routing\SluggableArgumentTest" file="/var/www/acme/integration/src/MyACMEFrontendBundle/Tests/Routing/SluggableArgumentTest.php" tests="2" assertions="4" errors="0" failures="0" skipped="0" time="0.004700">
            <testcase name="creatingFromSlugPartSplitsOnlyFirstDashTest" class="MyACMEFrontendBundle\Tests\Routing\SluggableArgumentTest" file="/var/www/acme/integration/src/MyACMEFrontendBundle/Tests/Routing/SluggableArgumentTest.php" line="11" assertions="2" time="0.002605"/>
            <testcase name="creatingFromSlugPartAndCastingToStringBehavesIdempotent" class="MyACMEFrontendBundle\Tests\Routing\SluggableArgumentTest" file="/var/www/acme/integration/src/MyACMEFrontendBundle/Tests/Routing/SluggableArgumentTest.php" line="21" assertions="2" time="0.002095"/>
          </testsuite>
          <testsuite name="MyACMEFrontendBundle\Tests\Theming\ColorSchemeResolverTest" file="/var/www/acme/integration/src/MyACMEFrontendBundle/Tests/Theming/ColorSchemeResolverTest.php" tests="1" assertions="2" errors="0" failures="0" skipped="0" time="0.006396">
            <testcase name="findForThemeAndColorsFindsCorrectScheme" class="MyACMEFrontendBundle\Tests\Theming\ColorSchemeResolverTest" file="/var/www/acme/integration/src/MyACMEFrontendBundle/Tests/Theming/ColorSchemeResolverTest.php" line="12" assertions="2" time="0.006396"/>
          </testsuite>
          <testsuite name="MyACMEFrontendBundle\Tests\Theming\RgbColorModelTest" file="/var/www/acme/integration/src/MyACMEFrontendBundle/Tests/Theming/RgbColorModelTest.php" tests="5" assertions="11" errors="0" failures="0" skipped="0" time="0.010458">
            <testcase name="createFromHexStringWorksCorrectly" class="MyACMEFrontendBundle\Tests\Theming\RgbColorModelTest" file="/var/www/acme/integration/src/MyACMEFrontendBundle/Tests/Theming/RgbColorModelTest.php" line="11" assertions="3" time="0.002375"/>
            <testcase name="asWebSafeWorksCorrectly" class="MyACMEFrontendBundle\Tests\Theming\RgbColorModelTest" file="/var/www/acme/integration/src/MyACMEFrontendBundle/Tests/Theming/RgbColorModelTest.php" line="22" assertions="3" time="0.002263"/>
            <testcase name="asWebSafeWorksCorrectlyWithHexSource" class="MyACMEFrontendBundle\Tests\Theming\RgbColorModelTest" file="/var/www/acme/integration/src/MyACMEFrontendBundle/Tests/Theming/RgbColorModelTest.php" line="34" assertions="1" time="0.001867"/>
            <testcase name="asWebSafeLeavesEdgeCaseValuesCorrectly" class="MyACMEFrontendBundle\Tests\Theming\RgbColorModelTest" file="/var/www/acme/integration/src/MyACMEFrontendBundle/Tests/Theming/RgbColorModelTest.php" line="44" assertions="3" time="0.002231"/>
            <testcase name="stringCastIncludesLeadingZeroes" class="MyACMEFrontendBundle\Tests\Theming\RgbColorModelTest" file="/var/www/acme/integration/src/MyACMEFrontendBundle/Tests/Theming/RgbColorModelTest.php" line="56" assertions="1" time="0.001722"/>
          </testsuite>
          <testsuite name="MyACMEFrontendBundle\Tests\Theming\ThemeDefinitionsTest" file="/var/www/acme/integration/src/MyACMEFrontendBundle/Tests/Theming/ThemeDefinitionsTest.php" tests="4" assertions="474" errors="0" failures="0" skipped="0" time="0.349007">
            <testsuite name="MyACMEFrontendBundle\Tests\Theming\ThemeDefinitionsTest::themeDefinitionsProvidedColorSchemesHaveTheirColorDefinitionsConstants" tests="2" assertions="42" errors="0" failures="0" skipped="0" time="0.015384">
              <testcase name="themeDefinitionsProvidedColorSchemesHaveTheirColorDefinitionsConstants with data set #0" assertions="22" time="0.007460"/>
              <testcase name="themeDefinitionsProvidedColorSchemesHaveTheirColorDefinitionsConstants with data set #1" assertions="20" time="0.007924"/>
            </testsuite>
            <testsuite name="MyACMEFrontendBundle\Tests\Theming\ThemeDefinitionsTest::everyWebSafeColorCanBeDetermined" tests="2" assertions="432" errors="0" failures="0" skipped="0" time="0.333623">
              <testcase name="everyWebSafeColorCanBeDetermined with data set #0" assertions="216" time="0.164151"/>
              <testcase name="everyWebSafeColorCanBeDetermined with data set #1" assertions="216" time="0.169472"/>
            </testsuite>
          </testsuite>
          <testsuite name="MyACMEFrontendBundle\Tests\Twig\Extension\Format\HtmlExtensionTest" file="/var/www/acme/integration/src/MyACMEFrontendBundle/Tests/Twig/Extension/Format/HtmlExtensionTest.php" tests="10" assertions="12" errors="0" failures="0" skipped="0" time="0.020510">
            <testcase name="paragraphMatchingPatternMatches" class="MyACMEFrontendBundle\Tests\Twig\Extension\Format\HtmlExtensionTest" file="/var/www/acme/integration/src/MyACMEFrontendBundle/Tests/Twig/Extension/Format/HtmlExtensionTest.php" line="11" assertions="1" time="0.003451"/>
            <testcase name="paragraphMatchingPatternCanBeUsedToSplitForParagraphs" class="MyACMEFrontendBundle\Tests\Twig\Extension\Format\HtmlExtensionTest" file="/var/www/acme/integration/src/MyACMEFrontendBundle/Tests/Twig/Extension/Format/HtmlExtensionTest.php" line="19" assertions="1" time="0.001805"/>
            <testcase name="paragraphFilterReturnsFirstParagraphUsingTheOrdinalRepresentation" class="MyACMEFrontendBundle\Tests\Twig\Extension\Format\HtmlExtensionTest" file="/var/www/acme/integration/src/MyACMEFrontendBundle/Tests/Twig/Extension/Format/HtmlExtensionTest.php" line="28" assertions="1" time="0.001810"/>
            <testcase name="paragraphFilterReturnsLastParagraphUsingTheOrdinalRepresentation" class="MyACMEFrontendBundle\Tests\Twig\Extension\Format\HtmlExtensionTest" file="/var/www/acme/integration/src/MyACMEFrontendBundle/Tests/Twig/Extension/Format/HtmlExtensionTest.php" line="39" assertions="1" time="0.001851"/>
            <testcase name="paragraphFilterReturnsParagraphWithIndex2" class="MyACMEFrontendBundle\Tests\Twig\Extension\Format\HtmlExtensionTest" file="/var/www/acme/integration/src/MyACMEFrontendBundle/Tests/Twig/Extension/Format/HtmlExtensionTest.php" line="50" assertions="1" time="0.001753"/>
            <testcase name="paragraphFilterReturnsEmptyStringOnNonexistantIndex" class="MyACMEFrontendBundle\Tests\Twig\Extension\Format\HtmlExtensionTest" file="/var/www/acme/integration/src/MyACMEFrontendBundle/Tests/Twig/Extension/Format/HtmlExtensionTest.php" line="61" assertions="2" time="0.002026"/>
            <testcase name="paragraphFilterWorksCorrectlyWithSpreadedAdditionalText" class="MyACMEFrontendBundle\Tests\Twig\Extension\Format\HtmlExtensionTest" file="/var/www/acme/integration/src/MyACMEFrontendBundle/Tests/Twig/Extension/Format/HtmlExtensionTest.php" line="74" assertions="1" time="0.001728"/>
            <testcase name="paragraphFilterConsidersDoubleBreaksAsParagraph" class="MyACMEFrontendBundle\Tests\Twig\Extension\Format\HtmlExtensionTest" file="/var/www/acme/integration/src/MyACMEFrontendBundle/Tests/Twig/Extension/Format/HtmlExtensionTest.php" line="85" assertions="1" time="0.001727"/>
            <testcase name="paragraphFilterThrowsExceptionOnInvalidIndex" class="MyACMEFrontendBundle\Tests\Twig\Extension\Format\HtmlExtensionTest" file="/var/www/acme/integration/src/MyACMEFrontendBundle/Tests/Twig/Extension/Format/HtmlExtensionTest.php" line="97" assertions="2" time="0.002344"/>
            <testcase name="decrementHeadingTagsDecrementsOneIfNothingElseSpecified" class="MyACMEFrontendBundle\Tests\Twig\Extension\Format\HtmlExtensionTest" file="/var/www/acme/integration/src/MyACMEFrontendBundle/Tests/Twig/Extension/Format/HtmlExtensionTest.php" line="106" assertions="1" time="0.002015"/>
          </testsuite>
          <testsuite name="GermanAcmeFoundation\MyACME\PremiumSite\Tests\Application\Site\SiteApplicationServiceTest" file="/var/www/acme/integration/src/PremiumSite/Tests/Application/Site/SiteApplicationServiceTest.php" tests="2" assertions="5" errors="0" failures="0" skipped="0" time="2.316433">
            <testcase name="testChangeSiteProvisioning" class="GermanAcmeFoundation\MyACME\PremiumSite\Tests\Application\Site\SiteApplicationServiceTest" file="/var/www/acme/integration/src/PremiumSite/Tests/Application/Site/SiteApplicationServiceTest.php" line="9" assertions="4" time="1.613132"/>
            <testcase name="testDomainHydratesToZero" class="GermanAcmeFoundation\MyACME\PremiumSite\Tests\Application\Site\SiteApplicationServiceTest" file="/var/www/acme/integration/src/PremiumSite/Tests/Application/Site/SiteApplicationServiceTest.php" line="40" assertions="1" time="0.703301"/>
          </testsuite>
          <testsuite name="GermanAcmeFoundation\MyACME\PremiumSite\Tests\Domain\Model\PremiumPreorder\AdvertisedProductTest" file="/var/www/acme/integration/src/PremiumSite/Tests/Domain/Model/PremiumPreorder/AdvertisedProductTest.php" tests="4" assertions="6" errors="0" failures="0" skipped="1" time="0.012167">
            <testcase name="cutInPricesWorksCorrectlyIfNoRRPIsGiven" class="GermanAcmeFoundation\MyACME\PremiumSite\Tests\Domain\Model\PremiumPreorder\AdvertisedProductTest" file="/var/www/acme/integration/src/PremiumSite/Tests/Domain/Model/PremiumPreorder/AdvertisedProductTest.php" line="14" assertions="2" time="0.003708"/>
            <testcase name="cutInPricesWorksCorrectlyForSameAmount" class="GermanAcmeFoundation\MyACME\PremiumSite\Tests\Domain\Model\PremiumPreorder\AdvertisedProductTest" file="/var/www/acme/integration/src/PremiumSite/Tests/Domain/Model/PremiumPreorder/AdvertisedProductTest.php" line="24" assertions="2" time="0.003246"/>
            <testcase name="cutInPricesWorksCorrectlyForCutAmount" class="GermanAcmeFoundation\MyACME\PremiumSite\Tests\Domain\Model\PremiumPreorder\AdvertisedProductTest" file="/var/www/acme/integration/src/PremiumSite/Tests/Domain/Model/PremiumPreorder/AdvertisedProductTest.php" line="34" assertions="0" time="0.002011">
              <skipped/>
            </testcase>
            <testcase name="isCutInPricesReturnsFalseNoMatterWhat" class="GermanAcmeFoundation\MyACME\PremiumSite\Tests\Domain\Model\PremiumPreorder\AdvertisedProductTest" file="/var/www/acme/integration/src/PremiumSite/Tests/Domain/Model/PremiumPreorder/AdvertisedProductTest.php" line="45" assertions="2" time="0.003202"/>
          </testsuite>
          <testsuite name="GermanAcmeFoundation\MyACME\PremiumSite\Tests\Domain\Model\Site\DomainNameTest" file="/var/www/acme/integration/src/PremiumSite/Tests/Domain/Model/Site/DomainNameTest.php" tests="9" assertions="13" errors="0" failures="0" skipped="0" time="0.024749">
            <testsuite name="GermanAcmeFoundation\MyACME\PremiumSite\Tests\Domain\Model\Site\DomainNameTest::constructingThrowsExceptionOnInvalidDomain" tests="3" assertions="6" errors="0" failures="0" skipped="0" time="0.009673">
              <testcase name="constructingThrowsExceptionOnInvalidDomain with data set #0" assertions="2" time="0.003234"/>
              <testcase name="constructingThrowsExceptionOnInvalidDomain with data set #1" assertions="2" time="0.003099"/>
              <testcase name="constructingThrowsExceptionOnInvalidDomain with data set #2" assertions="2" time="0.003340"/>
            </testsuite>
            <testsuite name="GermanAcmeFoundation\MyACME\PremiumSite\Tests\Domain\Model\Site\DomainNameTest::constructingIsPossibleWithValidDomainName" tests="3" assertions="3" errors="0" failures="0" skipped="0" time="0.007409">
              <testcase name="constructingIsPossibleWithValidDomainName with data set #0" assertions="1" time="0.002463"/>
              <testcase name="constructingIsPossibleWithValidDomainName with data set #1" assertions="1" time="0.002603"/>
              <testcase name="constructingIsPossibleWithValidDomainName with data set #2" assertions="1" time="0.002343"/>
            </testsuite>
            <testcase name="testEscapeDomainNameEscapesCorrectly" class="GermanAcmeFoundation\MyACME\PremiumSite\Tests\Domain\Model\Site\DomainNameTest" file="/var/www/acme/integration/src/PremiumSite/Tests/Domain/Model/Site/DomainNameTest.php" line="47" assertions="1" time="0.002206"/>
            <testcase name="testContainsSubdomain" class="GermanAcmeFoundation\MyACME\PremiumSite\Tests\Domain\Model\Site\DomainNameTest" file="/var/www/acme/integration/src/PremiumSite/Tests/Domain/Model/Site/DomainNameTest.php" line="52" assertions="2" time="0.003003"/>
            <testcase name="testToString" class="GermanAcmeFoundation\MyACME\PremiumSite\Tests\Domain\Model\Site\DomainNameTest" file="/var/www/acme/integration/src/PremiumSite/Tests/Domain/Model/Site/DomainNameTest.php" line="61" assertions="1" time="0.002458"/>
          </testsuite>
          <testsuite name="GermanAcmeFoundation\MyACME\PremiumSite\Tests\Domain\Model\Site\SiteServiceTest" file="/var/www/acme/integration/src/PremiumSite/Tests/Domain/Model/Site/SiteServiceTest.php" tests="1" assertions="2" errors="0" failures="0" skipped="0" time="0.008650">
            <testcase name="testPublicUrlFor" class="GermanAcmeFoundation\MyACME\PremiumSite\Tests\Domain\Model\Site\SiteServiceTest" file="/var/www/acme/integration/src/PremiumSite/Tests/Domain/Model/Site/SiteServiceTest.php" line="10" assertions="2" time="0.008650"/>
          </testsuite>
          <testsuite name="GermanAcmeFoundation\MyACME\PremiumSite\Tests\Port\Adapter\Service\EpraxAdapterTest" file="/var/www/acme/integration/src/PremiumSite/Tests/Port/Adapter/Service/EpraxAdapterTest.php" tests="2" assertions="2" errors="0" failures="0" skipped="0" time="0.379113">
            <testcase name="testExistingMedicine" class="GermanAcmeFoundation\MyACME\PremiumSite\Tests\Port\Adapter\Service\EpraxAdapterTest" file="/var/www/acme/integration/src/PremiumSite/Tests/Port/Adapter/Service/EpraxAdapterTest.php" line="14" assertions="1" time="0.198062"/>
            <testcase name="testNotFoundMedicine" class="GermanAcmeFoundation\MyACME\PremiumSite\Tests\Port\Adapter\Service\EpraxAdapterTest" file="/var/www/acme/integration/src/PremiumSite/Tests/Port/Adapter/Service/EpraxAdapterTest.php" line="19" assertions="1" time="0.181051"/>
          </testsuite>
          <testsuite name="GermanAcmeFoundation\MyACME\PremiumSite\Port\Adapter\Service\EpraxMedicineTranslatorTest" file="/var/www/acme/integration/src/PremiumSite/Tests/Port/Adapter/Service/EpraxMedicineTranslatorTest.php" tests="2" assertions="4" errors="0" failures="0" skipped="0" time="0.007887">
            <testcase name="toMedicineFromRepresentationWorksCorrectly" class="GermanAcmeFoundation\MyACME\PremiumSite\Port\Adapter\Service\EpraxMedicineTranslatorTest" file="/var/www/acme/integration/src/PremiumSite/Tests/Port/Adapter/Service/EpraxMedicineTranslatorTest.php" line="21" assertions="3" time="0.004709"/>
            <testcase name="toMedicineFromRepresentationWorksForEmptyPharamcyPrice" class="GermanAcmeFoundation\MyACME\PremiumSite\Port\Adapter\Service\EpraxMedicineTranslatorTest" file="/var/www/acme/integration/src/PremiumSite/Tests/Port/Adapter/Service/EpraxMedicineTranslatorTest.php" line="32" assertions="1" time="0.003178"/>
          </testsuite>
          <testsuite name="GermanAcmeFoundation\MyACME\PremiumSite\Tests\Port\Adapter\Service\IfapAdapterTest" file="/var/www/acme/integration/src/PremiumSite/Tests/Port/Adapter/Service/IfapAdapterTest.php" tests="2" assertions="2" errors="0" failures="0" skipped="0" time="0.507834">
            <testcase name="testExistingMedicine" class="GermanAcmeFoundation\MyACME\PremiumSite\Tests\Port\Adapter\Service\IfapAdapterTest" file="/var/www/acme/integration/src/PremiumSite/Tests/Port/Adapter/Service/IfapAdapterTest.php" line="15" assertions="1" time="0.240597"/>
            <testcase name="testNotFoundMedicine" class="GermanAcmeFoundation\MyACME\PremiumSite\Tests\Port\Adapter\Service\IfapAdapterTest" file="/var/www/acme/integration/src/PremiumSite/Tests/Port/Adapter/Service/IfapAdapterTest.php" line="24" assertions="1" time="0.267237"/>
          </testsuite>
          <testsuite name="GermanAcmeFoundation\MyACME\PremiumSite\Tests\Port\Adapter\Service\WebserviceResolvedMedicineTest" file="/var/www/acme/integration/src/PremiumSite/Tests/Port/Adapter/Service/WebserviceResolvedMedicineTest.php" tests="2" assertions="2" errors="0" failures="0" skipped="0" time="0.454145">
            <testcase name="testExistingMedicine" class="GermanAcmeFoundation\MyACME\PremiumSite\Tests\Port\Adapter\Service\WebserviceResolvedMedicineTest" file="/var/www/acme/integration/src/PremiumSite/Tests/Port/Adapter/Service/WebserviceResolvedMedicineTest.php" line="14" assertions="1" time="0.196344"/>
            <testcase name="testNotFoundMedicine" class="GermanAcmeFoundation\MyACME\PremiumSite\Tests\Port\Adapter\Service\WebserviceResolvedMedicineTest" file="/var/www/acme/integration/src/PremiumSite/Tests/Port/Adapter/Service/WebserviceResolvedMedicineTest.php" line="22" assertions="1" time="0.257801"/>
          </testsuite>
          <testsuite name="GermanAcmeFoundation\MyACME\PremiumSite\Tests\Smoke\SlideChoiceTest" file="/var/www/acme/integration/src/PremiumSite/Tests/Smoke/SlideChoiceTest.php" tests="1" assertions="7" errors="0" failures="0" skipped="0" time="36.024414">
            <testcase name="testPersistingSlideChoiceWorks" class="GermanAcmeFoundation\MyACME\PremiumSite\Tests\Smoke\SlideChoiceTest" file="/var/www/acme/integration/src/PremiumSite/Tests/Smoke/SlideChoiceTest.php" line="17" assertions="7" time="36.024414"/>
          </testsuite>
        </testsuite>
      </testsuites>
      

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Ray
          Path:
          src/main/resources/org/jenkinsci/plugins/xunit/types/phpunit-2.0.xsd
          src/test/java/org/jenkinsci/plugins/xunit/types/PHPUnitTest.java
          src/test/resources/org/jenkinsci/plugins/xunit/types/phpunit/testcase8/junit-result.xml
          src/test/resources/org/jenkinsci/plugins/xunit/types/phpunit/testcase8/testresult.xml
          src/test/resources/org/jenkinsci/plugins/xunit/types/phpunit/testcase9/junit-result.xml
          src/test/resources/org/jenkinsci/plugins/xunit/types/phpunit/testcase9/testresult.xml
          http://jenkins-ci.org/commit/xunit-plugin/a1eb8087288b01533b0d4ec4e20575084339593e
          Log:
          JENKINS-42715 xUnit does not support PHPUnit 5.x skipped attribute

          Support skipped attribute during PHPUnit validation. The attribute is
          supported since PHPUnit version 5.4/6.5 with the PR

          *NOTE:* This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

          Functionality will be removed from GitHub.com on January 31st, 2019.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Ray Path: src/main/resources/org/jenkinsci/plugins/xunit/types/phpunit-2.0.xsd src/test/java/org/jenkinsci/plugins/xunit/types/PHPUnitTest.java src/test/resources/org/jenkinsci/plugins/xunit/types/phpunit/testcase8/junit-result.xml src/test/resources/org/jenkinsci/plugins/xunit/types/phpunit/testcase8/testresult.xml src/test/resources/org/jenkinsci/plugins/xunit/types/phpunit/testcase9/junit-result.xml src/test/resources/org/jenkinsci/plugins/xunit/types/phpunit/testcase9/testresult.xml http://jenkins-ci.org/commit/xunit-plugin/a1eb8087288b01533b0d4ec4e20575084339593e Log: JENKINS-42715 xUnit does not support PHPUnit 5.x skipped attribute Support skipped attribute during PHPUnit validation. The attribute is supported since PHPUnit version 5.4/6.5 with the PR https://github.com/sebastianbergmann/phpunit/pull/2144 * NOTE: * This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/ Functionality will be removed from GitHub.com on January 31st, 2019.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Ray
          Path:
          src/main/resources/org/jenkinsci/plugins/xunit/types/phpunit-2.0.xsd
          src/test/java/org/jenkinsci/plugins/xunit/types/PHPUnitTest.java
          src/test/resources/org/jenkinsci/plugins/xunit/types/phpunit/testcase8/junit-result.xml
          src/test/resources/org/jenkinsci/plugins/xunit/types/phpunit/testcase8/testresult.xml
          src/test/resources/org/jenkinsci/plugins/xunit/types/phpunit/testcase9/junit-result.xml
          src/test/resources/org/jenkinsci/plugins/xunit/types/phpunit/testcase9/testresult.xml
          http://jenkins-ci.org/commit/xunit-plugin/bac21ed6b1627c486188efb7ed0501249b2f5819
          Log:
          Added skipped tag for phpunit xml (#57)

          JENKINS-42715 xUnit does not support PHPUnit 5.x skipped attribute

          Support skipped attribute during PHPUnit validation. The attribute is supported since PHPUnit version 5.4/6.5 with the PR

          *NOTE:* This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

          Functionality will be removed from GitHub.com on January 31st, 2019.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Ray Path: src/main/resources/org/jenkinsci/plugins/xunit/types/phpunit-2.0.xsd src/test/java/org/jenkinsci/plugins/xunit/types/PHPUnitTest.java src/test/resources/org/jenkinsci/plugins/xunit/types/phpunit/testcase8/junit-result.xml src/test/resources/org/jenkinsci/plugins/xunit/types/phpunit/testcase8/testresult.xml src/test/resources/org/jenkinsci/plugins/xunit/types/phpunit/testcase9/junit-result.xml src/test/resources/org/jenkinsci/plugins/xunit/types/phpunit/testcase9/testresult.xml http://jenkins-ci.org/commit/xunit-plugin/bac21ed6b1627c486188efb7ed0501249b2f5819 Log: Added skipped tag for phpunit xml (#57) JENKINS-42715 xUnit does not support PHPUnit 5.x skipped attribute Support skipped attribute during PHPUnit validation. The attribute is supported since PHPUnit version 5.4/6.5 with the PR https://github.com/sebastianbergmann/phpunit/pull/2144 * NOTE: * This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/ Functionality will be removed from GitHub.com on January 31st, 2019.
          Hide
          nfalco Nikolas Falco added a comment -

          The file reported in block code in the main issue is not valid neither for surefire neither for ant junitreport task (the main tools that generates a report JUnit).

          In the sample there are too nested testsuite elements. Surefire report admit only one testsuite as root element. Ant junitreport task aggregates testsuite elements under a the root testsuites element. Skipped is a valid attribute for the testsuite element.

          Is report generated directly by the PHPUnit tools?
          If yes, please fill a bug to the PHP Unit tool, otherwise please post the original PHP reports that cause the issue so we can fix the XSLT that transform PHPUnit report to a valid JUnit report.

          Show
          nfalco Nikolas Falco added a comment - The file reported in block code in the main issue is not valid neither for surefire neither for ant junitreport task (the main tools that generates a report JUnit). In the sample there are too nested testsuite elements. Surefire report admit only one testsuite as root element. Ant junitreport task aggregates testsuite elements under a the root testsuites element. Skipped is a valid attribute for the testsuite element. Is report generated directly by the PHPUnit tools? If yes, please fill a bug to the PHP Unit tool, otherwise please post the original PHP reports that cause the issue so we can fix the XSLT that transform PHPUnit report to a valid JUnit report.
          Hide
          mrleau Sebastien Lauzier added a comment -

          I have the same issue using Jenkins 2.94 and xunit 1.102 and the cause is the same; skipped test.

          Show
          mrleau Sebastien Lauzier added a comment - I have the same issue using Jenkins 2.94 and xunit 1.102 and the cause is the same; skipped test.
          Hide
          fazlinovic Emir Fazlinovic added a comment -

          By viewing Jenkins System log file in my case I discovered xUnit plugin is having problems parsing xml files created by phpunit with tests marked as incomplete/skipped:

           

          [xUnit] - At line 153 of file:/var/lib/jenkins/jobs/..../workspace/build/logs/junit.xml:cvc-complex-type.2.4.a: Invalid content was found starting with element 'skipped'. One of '{error, failure, system-err, system-out}' is expected.
          

          More on incomplete and skipped tests

           

          Workaround is to completely remove/comment out incomplete test methods from testing classes and phpunit will produce parsable file for xunit plugin.

           

          Environment:

          PHPUnit 6.2.3

          Jenkins ver. 2.46.2

          xUnit 1.102 

          Show
          fazlinovic Emir Fazlinovic added a comment - By viewing Jenkins System log file in my case I discovered xUnit plugin is having problems parsing xml files created by phpunit with tests marked as incomplete/skipped:   [xUnit] - At line 153 of file:/ var /lib/jenkins/jobs/..../workspace/build/logs/junit.xml:cvc-complex-type.2.4.a: Invalid content was found starting with element 'skipped' . One of '{error, failure, system-err, system-out}' is expected. More on incomplete and skipped tests   Workaround is to completely remove/comment out incomplete test methods from testing classes and phpunit will produce parsable file for xunit plugin.   Environment: PHPUnit 6.2.3 Jenkins ver. 2.46.2 xUnit 1.102 

            People

            • Assignee:
              nfalco Nikolas Falco
              Reporter:
              afoeder Adrian Föder
            • Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: