hashar added a subscriber: hashar.
hashar added a comment.

From an IRC discussion on 2015-10-27 in 
https://phabricator.wikimedia.org/tag/wikidata/:

  <Adrian_WMDE> hashar: Can you help us/me fixing 
https://integration.wikimedia.org/ci/view/BrowserTests/view/Wikidata/job/browsertests-Wikidata-PerformanceTests-linux-firefox-sauce/415/consoleFull?
  <Adrian_WMDE> It currently fails with `ERROR: Publisher 'Publish JUnit test 
result report' failed:
                No test report files were found. Configuration error?`
  
  <hashar> seems some Junit xml file is not generated
  <hashar> Adrian_WMDE: looks like no scenario matches the cucumber tags
  <hashar> cucumber is invoked with --tags @performance_testing --tags @firefox
  <hashar> and since no tests are run, no JUnit result is written and the 
Jenkins plugin that deal with JUnit files complains and fail the build
  
  <Adrian_WMDE> But features/performance_test.feature matches that, and the 
output looks to me like it is recognized
  <Adrian_WMDE> Also, I just ran `bundle exec cucumber --backtrace --color 
--verbose --format junit --out junit --tags @performance_testing --tags 
@firefox` locally and it ran

The job does `CUCUMBER_TAGS=@performance_testing` and cucumber is executed with:

  bundle exec cucumber --backtrace --color --verbose \
     --format Cucumber::Formatter::Sauce --out log/junit \
     --tags @performance_testing --tags @firefox

It apparently only match a single feature:

> Features:

> 

> - features/performance_test.feature




  # Wikidata item tests
  #
  # License:: GNU GPL v2+
  #
  # testing loading time of huge entities
  
  @chrome @firefox @internet_explorer_10 @internet_explorer_11 @local_config 
@performance_testing
  Feature: High performance
  
    Background:
      Given Entity Italy defined in data/q38.json exists
  
    Scenario Outline: Loading a huge entity
      When I load the huge item <item>
      Then Header edit button should be there
        And Statement add button should be there
  
      Examples:
        | item          |
        | Italy         |

It runs just fine on my local machine.  An oddity is whenever `RAITA_URL` is 
set, cucumber output is not shown. I suspect there is a background error 
related to Raita that is not being shown somehow :-(


TASK DETAIL
  https://phabricator.wikimedia.org/T116164

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: hashar
Cc: hashar, adrianheine, JanZerebecki, Aklapper, Wikidata-bugs, aude, greg



_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to