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

Headless run dumps heaps of GL errors in the terminal #4288

Closed
verheyenkoen opened this issue May 23, 2019 · 22 comments · Fixed by #4644
Closed

Headless run dumps heaps of GL errors in the terminal #4288

verheyenkoen opened this issue May 23, 2019 · 22 comments · Fixed by #4644
Labels
cli type: unexpected behavior User expected result, but got another

Comments

@verheyenkoen
Copy link
Contributor

Current behavior:

Between my test results in the terminal I see heaps of these dumped lines. They look like errors from a GL library but can't really pin them to a specific component. It is quite annoying but it doesn't stop Cypress from working correctly.f

[56796:0523/093625.638271:ERROR:gles2_cmd_decoder.cc(17788)] [.RenderWorker-0x7fe30f800600.GpuRasterization]GL ERROR :GL_INVALID_OPERATION : glCreateAndConsumeTextureCHROMIUM: invalid mailbox name
[56796:0523/093625.639964:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7fe30f800600.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[56796:0523/093625.640013:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7fe30f800600.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glClear: framebuffer incomplete
[56796:0523/093625.640042:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7fe30f800600.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[56796:0523/093625.640078:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7fe30f800600.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[56796:0523/093625.640111:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7fe30f800600.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[56796:0523/093625.640140:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7fe30f800600.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[56796:0523/093625.640197:ERROR:gles2_cmd_decoder.cc(17788)] [.RenderWorker-0x7fe30f800600.GpuRasterization]GL ERROR :GL_INVALID_OPERATION : glCreateAndConsumeTextureCHROMIUM: invalid mailbox name
[56796:0523/093625.640278:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7fe30f800600.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glClear: framebuffer incomplete
[56796:0523/093625.640310:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7fe30f800600.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[56796:0523/093625.640330:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7fe30f800600.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glClear: framebuffer incomplete
[56796:0523/093625.640360:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7fe30f800600.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[56796:0523/093625.640385:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7fe30f800600.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[56796:0523/093625.640410:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7fe30f800600.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[56796:0523/093625.640748:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7fe30f800600.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[56796:0523/093625.640858:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7fe30f800600.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[56796:0523/093625.640886:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7fe30f800600.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glClear: framebuffer incomplete
[56796:0523/093625.640909:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7fe30f800600.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[56796:0523/093625.640939:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7fe30f800600.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[56796:0523/093625.640962:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7fe30f800600.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[56796:0523/093625.640983:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7fe30f800600.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[56796:0523/093625.641004:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7fe30f800600.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[56796:0523/093625.641024:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7fe30f800600.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[56796:0523/093625.641086:ERROR:gles2_cmd_decoder.cc(17788)] [.RenderWorker-0x7fe30f800600.GpuRasterization]GL ERROR :GL_INVALID_OPERATION : glCreateAndConsumeTextureCHROMIUM: invalid mailbox name
[56796:0523/093625.641126:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7fe30f800600.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glClear: framebuffer incomplete
[56796:0523/093625.641160:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7fe30f800600.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[56796:0523/093625.641211:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7fe30f800600.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[56796:0523/093625.641253:ERROR:gles2_cmd_decoder.cc(17788)] [.RenderWorker-0x7fe30f800600.GpuRasterization]GL ERROR :GL_INVALID_OPERATION : glCreateAndConsumeTextureCHROMIUM: invalid mailbox name
[56796:0523/093625.641332:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7fe30f800600.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[56796:0523/093625.641359:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7fe30f800600.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glClear: framebuffer incomplete
[56796:0523/093625.641388:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7fe30f800600.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[56796:0523/093625.641413:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7fe30f800600.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[56796:0523/093625.641440:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7fe30f800600.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[56796:0523/093625.641467:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7fe30f800600.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[56796:0523/093625.641493:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7fe30f800600.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[56796:0523/093625.641600:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7fe30f800600.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[56796:0523/093625.641644:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7fe30f800600.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[56796:0523/093625.644920:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7fe30f800600.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[56796:0523/093625.646937:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7fe30f800600.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[56796:0523/093625.650046:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7fe30f800600.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[56796:0523/093625.650152:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7fe30f800600.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[56796:0523/093625.650357:ERROR:gles2_cmd_decoder.cc(17788)] [.RenderWorker-0x7fe30f800600.GpuRasterization]GL ERROR :GL_INVALID_OPERATION : glCreateAndConsumeTextureCHROMIUM: invalid mailbox name
[56796:0523/093625.650557:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7fe30f800600.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[56796:0523/093625.650604:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7fe30f800600.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[56796:0523/093625.650647:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7fe30f800600.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glClear: framebuffer incomplete
[56796:0523/093625.650687:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7fe30f800600.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[56796:0523/093625.650772:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7fe30f800600.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[56796:0523/093625.650811:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7fe30f800600.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[56796:0523/093625.651157:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7fe30f800600.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[56796:0523/093625.651246:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7fe30f800600.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[56796:0523/093625.651272:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7fe30f800600.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glClear: framebuffer incomplete
[56796:0523/093625.651297:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7fe30f800600.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[56796:0523/093625.651328:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7fe30f800600.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[56796:0523/093625.651354:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7fe30f800600.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete

There's always multiple sections of dumps in the output (in between the runner output).

Desired behavior:

No errors 😀

Steps to reproduce: (app code and test code)

Seen this in all my projects recently. With any cypress run command. Haven't seen this in the terminal when running the GUI.

Versions

MacOS Mojave
iTerm2 3.2.9
OhMyZsh
Cypress 3.3.0

@jennifer-shehane
Copy link
Member

Yes, I saw this yesterday too. I thought this may have been introduced in 3.3.1, but I see you're using 3.3.0.

Screen Shot 2019-05-23 at 3 42 11 PM

Is easy to reproduce on my end, I'm just running cypress run from the cypress-example-kitchensink application.

Are your errors also printing after the test results print? Towards the end before video recording?

@jennifer-shehane
Copy link
Member

Is the ELECTRON_ENABLE_LOGGING still logging in 3.3.1? Is that why I'm seeing this? I checked my own env vars and do not have it set individually.

@verheyenkoen
Copy link
Contributor Author

@jennifer-shehane In a run with video recording mostly between the results and before the video recording yes but I also found this line at the top of a spec:
image

In a run without video recording a larger dump block appeared also on in this position.

I also tried downgrading to 3.2.0 to see if it was there also but that doesn't seem to work. The runner reports it's still using 3.3.1.

@verheyenkoen
Copy link
Contributor Author

@jennifer-shehane
Copy link
Member

@verheyenkoen Yeah, but we released a 3.3.1 version to fix this. 🤔 #4281

@laiscoolblue
Copy link
Contributor

I'm having the same issue with 3.3.0 and 3.3.1 on headless mode.

Downgrading to 3.2.0 solved the issue.

@christophwolff
Copy link

I have the same issue. with both version. Sometimes there is the error and sometimes not. Iam using nuxt with crossenv and a node express js server.

@xeger
Copy link

xeger commented May 29, 2019

I've been seeing this with 3.3.1, and this particular instance of the warning might hint at a cause:

[50904:0529/092454.464775:ERROR:gles2_cmd_decoder.cc(17788)] [.RenderWorker-0x7f8f25863c00.GpuRasterization]GL ERROR :GL_INVALID_OPERATION : glCreateAndConsumeTextureCHROMIUM: invalid mailbox name

It looks like resources related to the headless browser's GPU-accelerated rendering are being destroyed, and then something rendering-related is happening.

Maybe there's an ordering or concurrency issue between Cypress' before-unload hooks, etc, and its teardown of the embedded-viewport, shadowy-DOM-thingie in which the page is being tested? (I am not a web guy, obvs.)

Corollary question: do we expect GPU acceleration to be used during headless builds using Electron?

@dialex
Copy link

dialex commented Jun 6, 2019

Same issue with both versions. Downgrading to 3.2.0 :(
Since this is reproducible and affecting several people, it should be labeled as type: bug, right @jennifer-shehane ?

@dagda1
Copy link

dagda1 commented Jun 10, 2019

I have this same bug on 3.3.1 which is frustrating because if I downgrade to 3.2.0 then I hit this bug

@sydneybmunizaga
Copy link

sydneybmunizaga commented Jun 13, 2019

I am having the same issues. I am using version 3.3.1.

Please let me know if there is anything I need to add to this. Thanks!

[19525:0613/181415.224339:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7fe553818200.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glClear: framebuffer incomplete

@cypress-bot cypress-bot bot added the stage: ready for work The issue is reproducible and in scope label Jul 1, 2019
@jennifer-shehane jennifer-shehane added type: unexpected behavior User expected result, but got another cli stage: ready for work The issue is reproducible and in scope and removed stage: ready for work The issue is reproducible and in scope labels Jul 1, 2019
@brian-mann
Copy link
Member

This is likely not coming from electron debug logs - it's coming from the electron upgrade we did starting in 3.3.0.

@brian-mann
Copy link
Member

We filter out a lot of garbage lines from electron, and likely need to add more ignored lines from the output.

/cc @bkucera and @jennifer-shehane there is code in the CLI that ignores garbage output.

@jennifer-shehane
Copy link
Member

jennifer-shehane commented Jul 2, 2019

I have this happen on every repo during cypress run. Still happens with --headed flag. It doesn't have the logs at the end of EVERY spec file, only some. Doesn't log extra messages with --browser chrome

The trick is to run a file with a failing test so that the logs show up during the screenshot processing. I also did see some instances where these logs showed up at the beginning of the spec file's run.

Partial DEBUG logs where extra logging is happening

  1) API Catalog of events "before each" hook for "loads catalog of events":
     CypressError: cy.visit() failed trying to load:

http://localhost:2222/api/events/cataof-events.html

The response we received from your web server was:

  > 404: Not Found

This was considered a failure because the status code was not '2xx'.

If you do not want status codes to cause failures pass the option: 'failOnStatusCode: false'

Because this error occurred during a 'before each' hook we are skipping the remaining tests in the current suite: 'Catalog of events'
      at Object.cypressErr (http://localhost:2222/__cypress/runner/cypress_runner.js:84573:11)
      at Object.throwErr (http://localhost:2222/__cypress/runner/cypress_runner.js:84538:18)
      at Object.throwErrByPath (http://localhost:2222/__cypress/runner/cypress_runner.js:84565:17)
      at http://localhost:2222/__cypress/runner/cypress_runner.js:74778:31
      at visitFailedByErr (http://localhost:2222/__cypress/runner/cypress_runner.js:74337:12)
      at http://localhost:2222/__cypress/runner/cypress_runner.js:74759:22
      at tryCatcher (http://localhost:2222/__cypress/runner/cypress_runner.js:133768:23)
      at Promise._settlePromiseFromHandler (http://localhost:2222/__cypress/runner/cypress_runner.js:131786:31)
      at Promise._settlePromise (http://localhost:2222/__cypress/runner/cypress_runner.js:131843:18)
      at Promise._settlePromise0 (http://localhost:2222/__cypress/runner/cypress_runner.js:131888:10)
      at Promise._settlePromises (http://localhost:2222/__cypress/runner/cypress_runner.js:131963:18)
      at Async._drainQueue (http://localhost:2222/__cypress/runner/cypress_runner.js:128692:16)
      at Async._drainQueues (http://localhost:2222/__cypress/runner/cypress_runner.js:128702:10)
      at Async.drainQueues (http://localhost:2222/__cypress/runner/cypress_runner.js:128576:14)
      at <anonymous>




  (Results)

  ┌───────────────────────────┐
  │ Tests:        2           │
  │ Passing:      1           │
  │ Failing:      1           │
  │ Pending:      0           │
  │ Skipped:      0           │
  │ Screenshots:  1           │
  │ Video:        true        │
  │ Duration:     23 seconds  │
  │ Spec Ran:     api_spec.js │
  └───────────────────────────┘


  (Screenshots)

  - /Users/jennifer/Dev/cypress-documentation/cypress/screenshots/api_spec.js/API -- Catalog of events -- loads catalog of events -- before each hook (failed).png (1280x720)

  cypress:server:run attempting to close the browser +26s
  cypress:server:browsers killing browser process +27s
  cypress:server:browsers:electron closed event fired +26s
  cypress:server:preprocessor removeFile /Users/jennifer/Dev/cypress-documentation/cypress/integration/api_spec.js +25s
  cypress:server:preprocessor base emitter plugin close event +0ms
  cypress:server:preprocessor base emitter native close event +0ms
  cypress:browserify close: /Users/jennifer/Dev/cypress-documentation/cypress/integration/api_spec.js +24s
  cypress:server:preprocessor base emitter native close event +1ms
  cypress:browserify close: /Users/jennifer/Dev/cypress-documentation/cypress/support/index.js +0ms
  cypress:browserify close: /Users/jennifer/Dev/cypress-documentation/cypress/integration/api_spec.js +0ms
  cypress:server:browsers browser process killed +25ms
  cypress:server:browsers:electron debugger detached due to { reason: 'target closed' } +3ms
  cypress:server:video capture stderr log { message: 'frame=  658 fps= 30 q=12.0 size=     768kB time=00:00:25.52 bitrate= 246.5kbits/s dup=327 drop=0 speed=1.16x    ' } +525ms
  cypress:server:run ending the video recording { name: '/Users/jennifer/Dev/cypress-documentation/cypress/videos/api_spec.js.mp4', videoCompression: 32, shouldUploadVideo: true } +65ms
[46454:0702/140217.290901:ERROR:gles2_cmd_decoder.cc(17788)] [.RenderWorker-0x7f8bc5815a00.GpuRasterization]GL ERROR :GL_INVALID_OPERATION : glCreateAndConsumeTextureCHROMIUM: invalid mailbox name
[46454:0702/140217.291008:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7f8bc5815a00.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[46454:0702/140217.291035:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7f8bc5815a00.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glClear: framebuffer incomplete
[46454:0702/140217.291056:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7f8bc5815a00.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[46454:0702/140217.291130:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7f8bc5815a00.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[46454:0702/140217.291190:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7f8bc5815a00.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[46454:0702/140217.291220:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7f8bc5815a00.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[46454:0702/140217.291269:ERROR:gles2_cmd_decoder.cc(17788)] [.RenderWorker-0x7f8bc5815a00.GpuRasterization]GL ERROR :GL_INVALID_OPERATION : glCreateAndConsumeTextureCHROMIUM: invalid mailbox name
[46454:0702/140217.291326:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7f8bc5815a00.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glClear: framebuffer incomplete
[46454:0702/140217.291352:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7f8bc5815a00.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[46454:0702/140217.291369:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7f8bc5815a00.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glClear: framebuffer incomplete
[46454:0702/140217.291388:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7f8bc5815a00.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[46454:0702/140217.291413:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7f8bc5815a00.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[46454:0702/140217.291440:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7f8bc5815a00.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[46454:0702/140217.291669:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7f8bc5815a00.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[46454:0702/140217.291750:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7f8bc5815a00.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[46454:0702/140217.291812:ERROR:gles2_cmd_decoder.cc(17788)] [.RenderWorker-0x7f8bc5815a00.GpuRasterization]GL ERROR :GL_INVALID_OPERATION : glCreateAndConsumeTextureCHROMIUM: invalid mailbox name
[46454:0702/140217.291850:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7f8bc5815a00.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glClear: framebuffer incomplete
[46454:0702/140217.291885:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7f8bc5815a00.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[46454:0702/140217.291940:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7f8bc5815a00.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[46454:0702/140217.291991:ERROR:gles2_cmd_decoder.cc(17788)] [.RenderWorker-0x7f8bc5815a00.GpuRasterization]GL ERROR :GL_INVALID_OPERATION : glCreateAndConsumeTextureCHROMIUM: invalid mailbox name
[46454:0702/140217.292056:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7f8bc5815a00.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[46454:0702/140217.292079:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7f8bc5815a00.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glClear: framebuffer incomplete
[46454:0702/140217.292109:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7f8bc5815a00.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[46454:0702/140217.292140:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7f8bc5815a00.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[46454:0702/140217.292166:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7f8bc5815a00.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[46454:0702/140217.292190:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7f8bc5815a00.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[46454:0702/140217.292209:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7f8bc5815a00.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[46454:0702/140217.292285:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7f8bc5815a00.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[46454:0702/140217.292313:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7f8bc5815a00.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[46454:0702/140217.292340:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7f8bc5815a00.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[46454:0702/140217.292374:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7f8bc5815a00.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[46454:0702/140217.292397:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7f8bc5815a00.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[46454:0702/140217.292422:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7f8bc5815a00.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[46454:0702/140217.292466:ERROR:gles2_cmd_decoder.cc(17788)] [.RenderWorker-0x7f8bc5815a00.GpuRasterization]GL ERROR :GL_INVALID_OPERATION : glCreateAndConsumeTextureCHROMIUM: invalid mailbox name
[46454:0702/140217.292526:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7f8bc5815a00.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glClear: framebuffer incomplete
[46454:0702/140217.292555:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7f8bc5815a00.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[46454:0702/140217.292584:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7f8bc5815a00.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glClear: framebuffer incomplete
[46454:0702/140217.292612:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7f8bc5815a00.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[46454:0702/140217.292640:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7f8bc5815a00.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[46454:0702/140217.292666:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7f8bc5815a00.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[46454:0702/140217.292841:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7f8bc5815a00.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[46454:0702/140217.292912:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7f8bc5815a00.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[46454:0702/140217.292958:ERROR:gles2_cmd_decoder.cc(17788)] [.RenderWorker-0x7f8bc5815a00.GpuRasterization]GL ERROR :GL_INVALID_OPERATION : glCreateAndConsumeTextureCHROMIUM: invalid mailbox name
[46454:0702/140217.293029:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7f8bc5815a00.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[46454:0702/140217.293055:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7f8bc5815a00.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
  cypress:server:video capture stderr log { message: 'frame=  660 fps= 30 q=-1.0 Lsize=     876kB time=00:00:26.36 bitrate= 272.2kbits/s dup=328 drop=0 speed=1.19x    ' } +18ms
[46454:0702/140217.293071:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7f8bc5815a00.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glClear: framebuffer incomplete
[46454:0702/140217.313368:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7f8bc5815a00.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[46454:0702/140217.313434:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7f8bc5815a00.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[46454:0702/140217.313461:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7f8bc5815a00.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
  cypress:server:video capture stderr log { message: 'video:872kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.389809%' } +10ms
  cypress:server:video capture stderr log { message: '[libx264 @ 0x7fc704800c00] frame I:3     Avg QP:13.33  size:156618' } +0ms
  cypress:server:video capture stderr log { message: '[libx264 @ 0x7fc704800c00] frame P:657   Avg QP:12.81  size:   644' } +0ms
  cypress:server:video capture stderr log { message: '[libx264 @ 0x7fc704800c00] mb I  I16..4: 100.0%  0.0%  0.0%' } +0ms
  cypress:server:video capture stderr log { message: '[libx264 @ 0x7fc704800c00] mb P  I16..4:  0.5%  0.0%  0.0%  P16..4:  0.9%  0.0%  0.0%  0.0%  0.0%    skip:98.6%' } +1ms
  cypress:server:video capture stderr log { message: '[libx264 @ 0x7fc704800c00] coded y,uvDC,uvAC intra: 28.8% 8.3% 7.6% inter: 0.4% 0.3% 0.0%' } +0ms
  cypress:server:video capture stderr log { message: '[libx264 @ 0x7fc704800c00] i16 v,h,dc,p: 67% 20% 11%  2%' } +0ms
  cypress:server:video capture stderr log { message: '[libx264 @ 0x7fc704800c00] i8c dc,h,v,p: 84% 11%  4%  0%' } +0ms
  cypress:server:video capture stderr log { message: '[libx264 @ 0x7fc704800c00] kb/s:270.50' } +0ms
[46454:0702/140217.314364:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7f8bc5815a00.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[46454:0702/140217.314457:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7f8bc5815a00.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
  cypress:server:video capture stderr log { message: '' } +8ms
  cypress:server:video capture ended +0ms

  (Video)

  - Started processing:   Compressing to 32 CRF
  cypress:server:video compression started { command: 'ffmpeg -i /Users/jennifer/Dev/cypress-documentation/cypress/videos/api_spec.js.mp4 -y -vcodec libx264 -preset fast -crf 32 /Users/jennifer/Dev/cypress-documentation/cypress/videos/api_spec.js-compressed.mp4' } +11ms

Beginning of file logs

  Running: sidebar_spec.js...                                                             (9 of 10)

Warning: Cypress can only record videos when running headlessly.

You have set the 'electron' browser to run headed.

A video will not be recorded when using this mode.
[48332:0702/141312.150633:ERROR:gles2_cmd_decoder.cc(17788)] [.RenderWorker-0x7fe86581ac00.GpuRasterization]GL ERROR :GL_INVALID_OPERATION : glCreateAndConsumeTextureCHROMIUM: invalid mailbox name
[48332:0702/141312.150695:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7fe86581ac00.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glClear: framebuffer incomplete
[48332:0702/141312.150726:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7fe86581ac00.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[48332:0702/141312.150779:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7fe86581ac00.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[48332:0702/141312.150823:ERROR:gles2_cmd_decoder.cc(17788)] [.RenderWorker-0x7fe86581ac00.GpuRasterization]GL ERROR :GL_INVALID_OPERATION : glCreateAndConsumeTextureCHROMIUM: invalid mailbox name
[48332:0702/141312.150891:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7fe86581ac00.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glClear: framebuffer incomplete
[48332:0702/141312.150914:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7fe86581ac00.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glClear: framebuffer incomplete
[48332:0702/141312.150936:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7fe86581ac00.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[48332:0702/141312.150958:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7fe86581ac00.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[48332:0702/141312.150977:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7fe86581ac00.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[48332:0702/141312.150995:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7fe86581ac00.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[48332:0702/141312.151013:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7fe86581ac00.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[48332:0702/141312.151088:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7fe86581ac00.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[48332:0702/141312.151111:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7fe86581ac00.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[48332:0702/141312.151130:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7fe86581ac00.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[48332:0702/141312.151151:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7fe86581ac00.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete
[48332:0702/141312.151172:ERROR:gles2_cmd_decoder.cc(4439)] [.RenderWorker-0x7fe86581ac00.GpuRasterization]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawElements: framebuffer incomplete


  Sidebar
    ✓ displays current page as highlighted (1982ms)
    Titles and links
      ✓ displays titles and links in sidebar (5285ms)


  2 passing (7s)


  (Results)

  ┌───────────────────────────────┐
  │ Tests:        2               │
  │ Passing:      2               │
  │ Failing:      0               │
  │ Pending:      0               │
  │ Skipped:      0               │
  │ Screenshots:  0               │
  │ Video:        false           │
  │ Duration:     7 seconds       │
  │ Spec Ran:     sidebar_spec.js │
  └───────────────────────────────┘


────────────────────────────────────────────────────────────────────────────────────────────────────

Mac 10.13.6
Electron
Cypress 3.3.2

@sydneybmunizaga
Copy link

Is there any way to get rid of them? Is there any way to get results from the tests that do not include these logs?

@bahmutov
Copy link
Contributor

bahmutov commented Jul 2, 2019 via email

@brian-mann
Copy link
Member

I cannot locally reproduce this - but I can open a PR assuming this is coming from electron's stderr pipe. We already ignore other forms of content.

@sydneybarlow if you want to get rid of them now you'd need to write your own script that spawns cypress as a child process and filter out the data that's being emitted from stderr.

@cypress-bot cypress-bot bot added stage: work in progress stage: needs review The PR code is done & tested, needs review and removed stage: ready for work The issue is reproducible and in scope stage: work in progress labels Jul 3, 2019
@cypress-bot cypress-bot bot added stage: pending release and removed stage: needs review The PR code is done & tested, needs review labels Jul 3, 2019
@cypress-bot
Copy link
Contributor

cypress-bot bot commented Jul 3, 2019

The code for this is done in cypress-io/cypress#4644, but has yet to be released.
We'll update this issue and reference the changelog when it's released.

@dialex
Copy link

dialex commented Jul 9, 2019

Related with #4255 and it's still occurring on v3.3.2 (latest)

@cypress-bot
Copy link
Contributor

cypress-bot bot commented Jul 9, 2019

Released in 3.4.0.

@sania-dsouza
Copy link

sania-dsouza commented Jan 21, 2020

Hey team,
I see this on 3.8.1 again. Do we have any information on this plz?

[79368:0121/133918.162939:ERROR:gles2_cmd_decoder.cc(18470)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glCreateAndConsumeTextureCHROMIUM: invalid mailbox name [79368:0121/133918.163150:ERROR:gles2_cmd_decoder.cc(10752)] [.DisplayCompositor]RENDER WARNING: texture bound to texture unit 0 is not renderable. It might be non-power-of-2 or have incompatible texture filtering (maybe)?

@jennifer-shehane
Copy link
Member

This issue will be closed to further comment as the exact issue here was resolved and tested.

@sania-dsouza If you're experiencing a bug similar to this in Cypress, please open a new issue with a fully reproducible example that we can run. There may be a specific edge case with the issue that we need more detail to fix.

@cypress-io cypress-io locked as resolved and limited conversation to collaborators Jan 22, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cli type: unexpected behavior User expected result, but got another
Projects
None yet
Development

Successfully merging a pull request may close this issue.