Comments (5)
Oddly, even after fixing the SYS_ADMIN
issue and verifying that the curl command to /ci
works correctly, the lighthouse-ci
command still fails in Travis. (nolanlawson/pinafore#793)
Since the proximate cause is that the client expects JSON and is getting HTML (probably an error page), maybe this is the same issue happening for the main lighthouse-ci server?
from lighthousebot.
@nolanlawson did you find a fix for this 😃
from lighthousebot.
Of course, I can't reproduce when I run the Docker container locally 😩
from lighthousebot.
Aha, so this appears to be the error output in the container. Looks like "no usable sandbox, please update your kernel." If this is happening in my own container, maybe it's happening in the public one too?
click here to see error output
2018-12-09T02:50:21.882Z Sun, 09 Dec 2018 02:50:21 GMT ChromeLauncher Waiting for browser.......................................................................................................
2018-12-09T02:50:21.904Z
2018-12-09T02:50:21.926Z Sun, 09 Dec 2018 02:50:21 GMT ChromeLauncher:error connect ECONNREFUSED 127.0.0.1:38901
2018-12-09T02:50:21.948Z
2018-12-09T02:50:21.970Z Sun, 09 Dec 2018 02:50:21 GMT ChromeLauncher:error Logging contents of /tmp/lighthouse.aPL90E2/chrome-err.log
2018-12-09T02:50:21.992Z
2018-12-09T02:50:22.014Z Sun, 09 Dec 2018 02:50:21 GMT ChromeLauncher:error [1209/024956.632643:FATAL:zygote_host_impl_linux.cc(116)] No usable sandbox! Update your kernel or see https://chromium.googlesou
rce.com/chromium/src/+/master/docs/linux_suid_sandbox_development.md for more information on developing with the SUID sandbox. If you want to live dangerously and need an immediate workaround, you can try u
sing --no-sandbox.
2018-12-09T02:50:22.036Z Failed to generate minidump.
2018-12-09T02:50:22.058Z
2018-12-09T02:50:22.080Z Unable to connect to Chrome
2018-12-09T02:50:22.102Z
2018-12-09T02:50:22.133Z Error: ENOENT: no such file or directory, stat '/home/chrome/reports/report.1544323795837.json'
2018-12-09T02:50:21.931Z Error: ENOENT: no such file or directory, unlink './home/chrome/reports/report.1544323795837.json'
from lighthousebot.
Just occurred to me that, for my container anyway, the problem is probably that it's not running with --cap-add=SYS_ADMIN
as specified in this repo's README.
from lighthousebot.
Related Issues (20)
- Azure Pipelines support
- Clarify that this repo is not the same as lighthouse-ci on npm HOT 1
- Slack integration
- Public-facing URL: needed? HOT 6
- How long does it take for the bot to accept the collaborator request? HOT 20
- Returning performance 0 (error) every time HOT 3
- Serverless frontend, backend and bot? HOT 1
- Will lighthousebot supports the authenticated web pages?
- npx alternative?
- lighthouse bot succeeds even when minimum required threshold is not met HOT 3
- Failing to build the docker container (Example) HOT 1
- Pass github error down to the client for debugging
- CI always return 0 score from lighthouse bot HOT 1
- Provide option to set throttling?
- GithubActions docs
- Feature request: GitHub Actions support HOT 3
- Error from CI backend. invalid json response body HOT 1
- Run in multiple build stages?
- LHError: INVALID_URL
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lighthousebot.