Giter Club home page Giter Club logo

Comments (5)

oliverhu avatar oliverhu commented on August 23, 2024

You are retrying the same testCase inside the same simulator. This looks more like a parsing error. @MattNewberry could you please paste your simulator log here? it is under ./output/ and with name N-simulator.log. cc @vargon

from bluepill.

ob avatar ob commented on August 23, 2024

Bluepill can run failed tests multiple times (to detect flaky tests) but that option (-failure-tolerance) is supposed to be off by default. It's not clear from the output that this is what's happening though... I thought we had a retry number in there. Can you try explicitly setting --error-retries to zero in the command line?

Here for your cutting & pasting convenience:

bluepill -a ./build/Unit\ Test-iphonesimulator/GuestCenter.app -s ./GuestCenter.xcodeproj/xcshareddata/xcschemes/Acceptance\ Tests1.xcscheme -o ./output/ -d "iPad Pro (9.7-inch)" -R 0

I just want to make sure we're not using the wrong timeout somewhere ;-)

from bluepill.

MattNewberry avatar MattNewberry commented on August 23, 2024

Without retries set to zero (original cmd)

(Of note, there are 2 failures within the test, could that be related the +3 count?)

Simulator log:

--------------------------------------------------------------------------------
Tests started: 2017-02-03 15:31:45 +0000
--------------------------------------------------------------------------------
2017-02-03 10:32:59.061 GuestCenter[21296:353235] KIFTester loaded
Test Suite 'Selected tests' started at 2017-02-03 10:33:00.106
     Executed 0 tests, with 0 failures (0 unexpected) in 0.000 (0.000) seconds
Test Suite 'Acceptance Tests1.xctest' started at 2017-02-03 10:33:00.108
Test Suite 'MakeReservationStats' started at 2017-02-03 10:33:00.108
Test Case '-[Acceptance_Tests1.MakeReservationStats testGuest2WithNoStats]' started.
/Users/Matt/work/opentable/GuestCenter-iPad/Acceptance Tests/KIFTestActor+CommonSetup.m:126: error: -[Acceptance_Tests1.MakeReservationStats testGuest2WithNoStats] : The step timed out after 30.00 seconds: Could not find element with accessibilityIdentifier == "MenuButton"
/Users/Matt/work/opentable/GuestCenter-iPad/Acceptance Tests/MakeReservationStats.swift:18: error: -[Acceptance_Tests1.MakeReservationStats testGuest2WithNoStats] : Failure in child step: The step timed out after 30.00 seconds: Could not find element with accessibilityIdentifier == "MenuButton"
Test Case '-[Acceptance_Tests1.MakeReservationStats testGuest2WithNoStats]' failed (33.108 seconds).

Console output:

matthews-mbp:GuestCenter-iPad matt$ bluepill -a ./build/Intermediates/CodeCoverage/Products/Debug-iphonesimulator/GuestCenter.app -s ./GuestCenter.xcodeproj/xcshareddata/xcschemes/GuestCenter.xcscheme -o ./output/ -d "iPad Air 2" -S 5000 -T 5000 -J
[  INFO  ] This is Bluepill v0.1.0-43-ga084f08
[  INFO  ] Running with 4 simulators.
[  INFO  ] Packed tests into 4 bundles
[  INFO  ] Started Simulator 1 (PID 20899).

...

[  INFO  ] Using 807 of 1064 processes.
[ FAILED ] (3)  32.599612s MakeReservationStats/testGuest2WithNoStats
[ FAILED ] (3)  32.601006s MakeReservationStats/testGuest2WithNoStats
[ FAILED ] (3)  33.089362s MakeReservationStats/testGuest2WithNoStats

With -R 0

No change... same behavior

from bluepill.

oliverhu avatar oliverhu commented on August 23, 2024

It seems to an issue with regex parsing. @vargon is fixing that 🗡

from bluepill.

vargon avatar vargon commented on August 23, 2024

Add PR #83 to handle this issue. @MattNewberry let me know if you can try out that branch and if it fixes your issue. Thanks!

from bluepill.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.