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

Testing process on SauceLabs doesn't complete properly #46

Open
Aaronius opened this issue May 9, 2020 · 12 comments
Open

Testing process on SauceLabs doesn't complete properly #46

Aaronius opened this issue May 9, 2020 · 12 comments

Comments

@Aaronius
Copy link
Owner

Aaronius commented May 9, 2020

When tests are running on SauceLabs, the process fails. Here's the last relevant message:

09 05 2020 16:58:47.168:WARN [launcher]: Chrome on SauceLabs have not captured in 60000 ms, killing.

See an example failed build here: https://travis-ci.org/github/Aaronius/penpal/builds/685098099

I've tried several configuration changes but haven't had success fixing the problem. Alternatively, explore different testing solutions entirely.

@celesterobinson
Copy link
Collaborator

celesterobinson commented Mar 13, 2022

One option would be to ditch TravisCI and use the Sauce Labs CLI in conjunction with GitHub actions.

I'm happy to submit a PR with the workflow, then you can add your Sauce Labs credentials to a GitHub secret.

@Aaronius
Copy link
Owner Author

Let's do it!

@celesterobinson
Copy link
Collaborator

Before completely throwing out TravisCI, I'm curious what configuration changes you tried. Did you try launching chrome with no sandbox?

@Aaronius
Copy link
Owner Author

It's been a few years, so I don't even remember at this point. I believe it was before Github Actions were a thing. I'd rather just use Github Actions at this point.

@celesterobinson
Copy link
Collaborator

Could you give me permissions to edit actions on the repo while I work on this? I'm not sure which permission it is, but I currently can't re-run jobs :(

@Aaronius
Copy link
Owner Author

I tweaked a permission. See if that works. If it doesn't, I'll need to do some more research.

@Aaronius
Copy link
Owner Author

Are you able to re-run jobs now @celesterobinson?

@celesterobinson
Copy link
Collaborator

Yes! Much thanks. I haven't had time for a while to look at this but I'll have a lot of time next week.

@celesterobinson
Copy link
Collaborator

celesterobinson commented Mar 29, 2022

@Aaronius I'm not sure if they're already set up, but would you mind setting up the repo secrets?
Keys:
SAUCE_USERNAME
SAUCE_ACCESS_KEY

I realized I need them in there to test the workflow

@Aaronius
Copy link
Owner Author

Aaronius commented Apr 1, 2022

Okay, the secrets are set!

@Aaronius
Copy link
Owner Author

Aaronius commented Apr 1, 2022

I'm also good with going with BrowserStack if SauceLabs gives us trouble. I've had better luck with BrowserStack in other projects.

@Aaronius
Copy link
Owner Author

If someone picks this up, let's move to BrowserStack.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants