Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-31228

AllureFormatter emits warning during output directory creation

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • n/a
    • None
    • QA

    Description

      Occured in job: https://travis-ci.com/ezsystems/ezplatform-page-builder/jobs/264168867

      When running tests in parallel:

      [1] vendor/ezsystems/ezplatform-form-builder/features/FormBuilderTests.feature
      
      In AllureFormatter.php line 358:
      
                                       
      
        [ErrorException]               
      
        Warning: mkdir(): File exists  
      
                                       
      
      Exception trace:
      
        at /var/www/vendor/ezsystems/allure-behat/src/Allure/Behat/Formatter/AllureFormatter.php:358
      
       Allure\Behat\Formatter\AllureFormatter->prepareOutputDirectory() at /var/www/vendor/ezsystems/allure-behat/src/Allure/Behat/Formatter/AllureFormatter.php:229
      
       Allure\Behat\Formatter\AllureFormatter->onBeforeSuiteTested() at /var/www/vendor/symfony/event-dispatcher/EventDispatcher.php:264
      
       Symfony\Component\EventDispatcher\EventDispatcher->doDispatch() at /var/www/vendor/behat/behat/src/Behat/Testwork/EventDispatcher/TestworkEventDispatcher.php:39
      
       Behat\Testwork\EventDispatcher\TestworkEventDispatcher->dispatch() at /var/www/vendor/behat/behat/src/Behat/Testwork/EventDispatcher/Tester/EventDispatchingSuiteTester.php:57
      
       Behat\Testwork\EventDispatcher\Tester\EventDispatchingSuiteTester->setUp() at /var/www/vendor/behat/behat/src/Behat/Testwork/Tester/Runtime/RuntimeExercise.php:69
      
       Behat\Testwork\Tester\Runtime\RuntimeExercise->test() at /var/www/vendor/behat/behat/src/Behat/Testwork/EventDispatcher/Tester/EventDispatchingExercise.php:70
      
       Behat\Testwork\EventDispatcher\Tester\EventDispatchingExercise->test() at /var/www/vendor/behat/behat/src/Behat/Testwork/Ordering/OrderedExercise.php:80
      
       Behat\Testwork\Ordering\OrderedExercise->test() at /var/www/vendor/behat/behat/src/Behat/Testwork/Tester/Cli/ExerciseController.php:149
      
       Behat\Testwork\Tester\Cli\ExerciseController->testSpecifications() at /var/www/vendor/behat/behat/src/Behat/Testwork/Tester/Cli/ExerciseController.php:108
      
       Behat\Testwork\Tester\Cli\ExerciseController->execute() at /var/www/vendor/behat/behat/src/Behat/Testwork/Cli/Command.php:63
      
       Behat\Testwork\Cli\Command->execute() at /var/www/vendor/symfony/console/Command/Command.php:255
      
       Symfony\Component\Console\Command\Command->run() at /var/www/vendor/symfony/console/Application.php:1011
      
       Symfony\Component\Console\Application->doRunCommand() at /var/www/vendor/symfony/console/Application.php:272
      
       Symfony\Component\Console\Application->doRun() at /var/www/vendor/behat/behat/src/Behat/Testwork/Cli/Application.php:124
      
       Behat\Testwork\Cli\Application->doRun() at /var/www/vendor/symfony/console/Application.php:148
      
       Symfony\Component\Console\Application->run() at /var/www/vendor/behat/behat/bin/behat:34
      
      behat [-s|--suite SUITE] [-f|--format FORMAT] [-o|--out OUT] [--format-settings FORMAT-SETTINGS] [--init] [--lang LANG] [--name NAME] [--tags TAGS] [--role ROLE] [--story-syntax] [-d|--definitions DEFINITIONS] [--snippets-for [SNIPPETS-FOR]] [--snippets-type SNIPPETS-TYPE] [--append-snippets] [--no-snippets] [--strict] [--list-features] [--list-scenarios] [--order ORDER] [--rerun] [--stop-on-failure] [--dry-run] [--] [<paths>]
      

      Looks like the code is not written to handle concurrency running.

      Attachments

        Activity

          People

            Unassigned Unassigned
            marek.nocon@ibexa.co Marek NocoĊ„
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: