Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detox flakiness while testing on Circle CI #471

Closed
heuism opened this issue Dec 21, 2017 · 3 comments
Closed

Detox flakiness while testing on Circle CI #471

heuism opened this issue Dec 21, 2017 · 3 comments

Comments

@heuism
Copy link

heuism commented Dec 21, 2017

Description

I ran the test on Circle CI but there is a weird stuff because I just want to make sure the test pass properly so I ran 3 times, build + test. But then I failed the first 2 and pass the last one, or may be pass the first and fail the second. But this is not an often thing, it just gave me failed sometimes.

image

image

FYI, the error it gave for the FAILED BUILDS is:

Error: Command failed: xcodebuild -workspace ios/<project>.xcworkspace -scheme <project> -configuration Release -sdk iphonesimulator -derivedDataPath ios/build
    at checkExecSyncError (child_process.js:601:13)

The other times, it built successfully but was failed middle of the test while it already passed once before.

  • Detox: 5.10.0
  • Node:
  • Device: iPhone 7
  • Xcode: 9.1
  • macOS:
@heuism heuism changed the title Detox flakiness while testing on CI Detox flakiness while testing on Circle CI Dec 21, 2017
@LeoNatan
Copy link
Contributor

I don't see how this is a Detox issue. You try to build your own project, which fails.
Please provide the build log so we can see what the issue is.

@heuism
Copy link
Author

heuism commented Dec 22, 2017

Hi @LeoNatan, I don't know when detox build doing, what is the background trying to do like bundling or packaging all the dependencies and stuffs. Would any case that the bundling and packaging is unstable or something? If it failed 3 times in the a row I wouldn't be too worried, but because it is 2 failed 1 passed and vice versa.

Here is the link for build fail

@LeoNatan
Copy link
Contributor

RNMixpanel fails compilation. It's right there in the log file.
This is not a Detox issue. All Detox does it run the command you provide it with in package.json.

@wix wix locked and limited conversation to collaborators Jul 23, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants