Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-70458

tst_WebGL::waitForSwapBuffers() failed on all linux and macOS

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.12
    • Fix Version/s: 5.12.0 Alpha
    • Component/s: QPA: WebGL
    • Labels:
      None
    • Platform/s:
      Linux/X11, macOS
    • Commits:
      64f6bf45187a449986b5a5153abcc75ce987e9e0

      Description

      https://codereview.qt-project.org/#/c/239304/ Update submodules on '5.12' in qt5

      https://testresults.qt.io/coin/integration/qt/qt5/tasks/1536880129

      https://testresults.qt.io/coin/api/results/qt/qtwebglplugin/1f780841b11e358a79f6a6c608ca5d2880b7e1ec/MacOSMacOS_10_13x86_64MacOSMacOS_10_13x86_64Clangqtci-macos-10.13-x86_64-c01559DebugAndRelease_Release/58b8eec9e5dfcb36445e03ae780b0bf8e09440cc/test_1536890982/log.txt.gz

      agent:2018/09/10 09:32:08 build.go:193: /Users/qt/work/qt/qtwebglplugin/tests/plugins/platforms/webgl/target_wrapper.sh  ./tst_webgl -o /Users/qt/work/testresults/tests/plugins/platforms/webgl929924632,xml -o -,txt
      agent:2018/09/10 09:32:10 build.go:193: ********* Start testing of tst_WebGL *********
      agent:2018/09/10 09:32:10 build.go:193: Config: Using QtTest library 5.12.0, Qt 5.12.0 (x86_64-little_endian-lp64 shared (dynamic) release build; by Clang 9.1.0 (clang-902.0.39.2) (Apple))
      agent:2018/09/10 09:32:10 build.go:193: PASS   : tst_WebGL::initTestCase()
      agent:2018/09/10 09:32:11 build.go:193: QDEBUG : tst_WebGL::checkFunctionCount(Basic scene) 674 "qt.qpa.webgl.httpserver: Listening in port 8080\n"
      agent:2018/09/10 09:32:11 build.go:193: QDEBUG : tst_WebGL::checkFunctionCount(Basic scene) 674 "qt.qpa.webgl.context: Creating context 1\n"
      agent:2018/09/10 09:32:11 build.go:193: QDEBUG : tst_WebGL::checkFunctionCount(Basic scene) 674 "qt.qpa.webgl.context: Creating context 2\n"
      agent:2018/09/10 09:32:11 build.go:193: QDEBUG : tst_WebGL::checkFunctionCount(Basic scene) 674 "qt.qpa.webgl.context: 0x7fcb79e0edf0\n"
      agent:2018/09/10 09:32:11 build.go:193: QDEBUG : tst_WebGL::checkFunctionCount(Basic scene) 674 "qt.qpa.webgl.window: Destroying -1\n"
      agent:2018/09/10 09:32:12 build.go:193: QDEBUG : tst_WebGL::checkFunctionCount(Basic scene) 674 "qt.qpa.webgl.httpserver: ::1 requested: /webqt.js\n"
      agent:2018/09/10 09:32:14 build.go:193: QDEBUG : tst_WebGL::checkFunctionCount(Basic scene) 674 "qt.qpa.webgl.websocketserver: Sending connect to  QWebSocket(0x7fcb79f37b80) QMap((\"debug\", QVariant(bool, false))(\"loadingScreen\", QVariant(QByteArray, \"\"))(\"supportedFunctions\", QVariant(QStringList, (\"activeTexture\", \"attachShader\", \"bindAttribLocation\", \"bindBuffer\", \"bindFramebuffer\", \"bindRenderbuffer\", \"bindTexture\", \"blendColor\", \"blendEquation\", \"blendEquationSeparate\", \"blendFunc\", \"blendFuncSeparate\", \"bufferData\", \"bufferSubData\", \"checkFramebufferStatus\", \"clear\", \"clearColor\", \"clearDepthf\", \"clearStencil\", \"colorMask\", \"compileShader\", \"compressedTexImage2D\", \"compressedTexSubImage2D\", \"copyTexImage2D\", \"copyTexSubImage2D\", \"createProgram\", \"createShader\", \"cullFace\", \"deleteBuffers\", \"deleteFramebuffers\", \"deleteProgram\", \"deleteRenderbuffers\", \"deleteShader\", \"deleteTextures\", \"depthFunc\", \"depthMask\", \"depthRangef\", \"detachShader\", \"disableVertexAttribArray\", \"drawArrays\", \"drawElements\", \"enableVertexAttribArray\", \"finish\", \"flush\", \"framebufferRenderbuffer\", \"framebufferTexture2D\", \"frontFace\", \"genBuffers\", \"genFramebuffers\", \"genRenderbuffers\", \"genTextures\", \"generateMipmap\", \"getActiveAttrib\", \"getActiveUniform\", \"getAttachedShaders\", \"getAttribLocation\", \"getString\", \"getIntegerv\", \"getBooleanv\", \"enable\", \"disable\", \"getBufferParameteriv\", \"getError\", \"getParameter\", \"getFramebufferAttachmentParameteriv\", \"getProgramInfoLog\", \"getProgramiv\", \"getRenderbufferParameteriv\", \"getShaderInfoLog\", \"getShaderPrecisionFormat\", \"getShaderSource\", \"getShaderiv\", \"getTexParameterfv\", \"getTexParameteriv\", \"getUniformLocation\", \"getUniformfv\", \"getUniformiv\", \"getVertexAttribPointerv\", \"getVertexAttribfv\", \"getVertexAttribiv\", \"hint\", \"isBuffer\", \"isEnabled\", \"isFramebuffer\", \"isProgram\", \"isRenderbuffer\", \"isShader\", \"isTexture\", \"lineWidth\", \"linkProgram\", \"pixelStorei\", \"polygonOffset\", \"readPixels\", \"releaseShaderCompiler\", \"renderbufferStorage\", \"sampleCoverage\", \"scissor\", \"shaderBinary\", \"shaderSource\", \"stencilFunc\", \"stencilFuncSeparate\", \"stencilMask\", \"stencilMaskSeparate\", \"stencilOp\", \"stencilOpSeparate\", \"texImage2D\", \"texParameterf\", \"texParameterfv\", \"texParameteri\", \"texParameteriv\", \"texSubImage2D\", \"uniform1f\", \"uniform1fv\", \"uniform1i\", \"uniform1iv\", \"uniform2f\", \"uniform2fv\", \"uniform2i\", \"uniform2iv\", \"uniform3f\", \"uniform3fv\", \"uniform3i\", \"uniform3iv\", \"uniform4f\", \"uniform4fv\", \"uniform4i\", \"uniform4iv\", \"uniformMatrix2fv\", \"uniformMatrix3fv\", \"uniformMatrix4fv\", \"useProgram\", \"validateProgram\", \"vertexAttrib1f\", \"vertexAttrib1fv\", \"vertexAttrib2f\", \"vertexAttrib2fv\", \"vertexAttrib3f\", \"vertexAttrib3fv\", \"vertexAttrib4f\", \"vertexAttrib4fv\", \"vertexAttribPointer\", \"viewport\", \"blitFramebufferEXT\", \"renderbufferStorageMultisampleEXT\", \"getTexLevelParameteriv\", \"makeCurrent\", \"swapBuffers\")))(\"sysinfo\", QVariant(QVariantMap, QMap((\"buildAbi\", QVariant(QString, \"x86_64-little_endian-lp64\"))(\"buildCpuArchitecture\", QVariant(QString, \"x86_64\"))(\"currentCpuArchitecture\", QVariant(QString, \"x86_64\"))(\"kernelType\", QVariant(QString, \"darwin\"))(\"machineHostName\", QVariant(QString, \"10-215-147-15.ci.qt.io\"))(\"prettyProductName\", QVariant(QString, \"macOS High Sierra (10.13)\"))(\"productType\", QVariant(QString, \"osx\"))(\"productVersion\", QVariant(QString, \"10.13\"))))))\n"
      agent:2018/09/10 09:32:14 build.go:193: PASS   : tst_WebGL::checkFunctionCount(Basic scene)
      agent:2018/09/10 09:32:15 build.go:193: QDEBUG : tst_WebGL::waitForSwapBuffers(Basic scene) 709 "qt.qpa.webgl.httpserver: Listening in port 8080\n"
      agent:2018/09/10 09:32:15 build.go:193: QDEBUG : tst_WebGL::waitForSwapBuffers(Basic scene) 709 "qt.qpa.webgl.context: Creating context 1\n"
      agent:2018/09/10 09:32:15 build.go:193: QDEBUG : tst_WebGL::waitForSwapBuffers(Basic scene) 709 "qt.qpa.webgl.context: Creating context 2\n"
      agent:2018/09/10 09:32:15 build.go:193: QDEBUG : tst_WebGL::waitForSwapBuffers(Basic scene) 709 "qt.qpa.webgl.context: 0x7fb03b42a6a0\n"
      agent:2018/09/10 09:32:15 build.go:193: QDEBUG : tst_WebGL::waitForSwapBuffers(Basic scene) 709 "qt.qpa.webgl.window: Destroying -1\n"
      agent:2018/09/10 09:32:16 build.go:193: QDEBUG : tst_WebGL::waitForSwapBuffers(Basic scene) 709 "qt.qpa.webgl.httpserver: ::1 requested: /webqt.js\n"
      agent:2018/09/10 09:32:17 build.go:193: QDEBUG : tst_WebGL::waitForSwapBuffers(Basic scene) 709 "qt.qpa.webgl.websocketserver: Sending connect to  QWebSocket(0x7fb03b5366a0) QMap((\"debug\", QVariant(bool, false))(\"loadingScreen\", QVariant(QByteArray, \"\"))(\"supportedFunctions\", QVariant(QStringList, (\"activeTexture\", \"attachShader\", \"bindAttribLocation\", \"bindBuffer\", \"bindFramebuffer\", \"bindRenderbuffer\", \"bindTexture\", \"blendColor\", \"blendEquation\", \"blendEquationSeparate\", \"blendFunc\", \"blendFuncSeparate\", \"bufferData\", \"bufferSubData\", \"checkFramebufferStatus\", \"clear\", \"clearColor\", \"clearDepthf\", \"clearStencil\", \"colorMask\", \"compileShader\", \"compressedTexImage2D\", \"compressedTexSubImage2D\", \"copyTexImage2D\", \"copyTexSubImage2D\", \"createProgram\", \"createShader\", \"cullFace\", \"deleteBuffers\", \"deleteFramebuffers\", \"deleteProgram\", \"deleteRenderbuffers\", \"deleteShader\", \"deleteTextures\", \"depthFunc\", \"depthMask\", \"depthRangef\", \"detachShader\", \"disableVertexAttribArray\", \"drawArrays\", \"drawElements\", \"enableVertexAttribArray\", \"finish\", \"flush\", \"framebufferRenderbuffer\", \"framebufferTexture2D\", \"frontFace\", \"genBuffers\", \"genFramebuffers\", \"genRenderbuffers\", \"genTextures\", \"generateMipmap\", \"getActiveAttrib\", \"getActiveUniform\", \"getAttachedShaders\", \"getAttribLocation\", \"getString\", \"getIntegerv\", \"getBooleanv\", \"enable\", \"disable\", \"getBufferParameteriv\", \"getError\", \"getParameter\", \"getFramebufferAttachmentParameteriv\", \"getProgramInfoLog\", \"getProgramiv\", \"getRenderbufferParameteriv\", \"getShaderInfoLog\", \"getShaderPrecisionFormat\", \"getShaderSource\", \"getShaderiv\", \"getTexParameterfv\", \"getTexParameteriv\", \"getUniformLocation\", \"getUniformfv\", \"getUniformiv\", \"getVertexAttribPointerv\", \"getVertexAttribfv\", \"getVertexAttribiv\", \"hint\", \"isBuffer\", \"isEnabled\", \"isFramebuffer\", \"isProgram\", \"isRenderbuffer\", \"isShader\", \"isTexture\", \"lineWidth\", \"linkProgram\", \"pixelStorei\", \"polygonOffset\", \"readPixels\", \"releaseShaderCompiler\", \"renderbufferStorage\", \"sampleCoverage\", \"scissor\", \"shaderBinary\", \"shaderSource\", \"stencilFunc\", \"stencilFuncSeparate\", \"stencilMask\", \"stencilMaskSeparate\", \"stencilOp\", \"stencilOpSeparate\", \"texImage2D\", \"texParameterf\", \"texParameterfv\", \"texParameteri\", \"texParameteriv\", \"texSubImage2D\", \"uniform1f\", \"uniform1fv\", \"uniform1i\", \"uniform1iv\", \"uniform2f\", \"uniform2fv\", \"uniform2i\", \"uniform2iv\", \"uniform3f\", \"uniform3fv\", \"uniform3i\", \"uniform3iv\", \"uniform4f\", \"uniform4fv\", \"uniform4i\", \"uniform4iv\", \"uniformMatrix2fv\", \"uniformMatrix3fv\", \"uniformMatrix4fv\", \"useProgram\", \"validateProgram\", \"vertexAttrib1f\", \"vertexAttrib1fv\", \"vertexAttrib2f\", \"vertexAttrib2fv\", \"vertexAttrib3f\", \"vertexAttrib3fv\", \"vertexAttrib4f\", \"vertexAttrib4fv\", \"vertexAttribPointer\", \"viewport\", \"blitFramebufferEXT\", \"renderbufferStorageMultisampleEXT\", \"getTexLevelParameteriv\", \"makeCurrent\", \"swapBuffers\")))(\"sysinfo\", QVariant(QVariantMap, QMap((\"buildAbi\", QVariant(QString, \"x86_64-little_endian-lp64\"))(\"buildCpuArchitecture\", QVariant(QString, \"x86_64\"))(\"currentCpuArchitecture\", QVariant(QString, \"x86_64\"))(\"kernelType\", QVariant(QString, \"darwin\"))(\"machineHostName\", QVariant(QString, \"10-215-147-15.ci.qt.io\"))(\"prettyProductName\", QVariant(QString, \"macOS High Sierra (10.13)\"))(\"productType\", QVariant(QString, \"osx\"))(\"productVersion\", QVariant(QString, \"10.13\"))))))\n"
      agent:2018/09/10 09:32:18 build.go:193: QDEBUG : tst_WebGL::waitForSwapBuffers(Basic scene) 709 "qt.qpa.webgl.window: Window 1 created\n"
      agent:2018/09/10 09:32:18 build.go:193: QDEBUG : tst_WebGL::waitForSwapBuffers(Basic scene) 709 "qt.qpa.webgl.websocketserver: Sending create_canvas to  QWebSocket(0x7fb03b5366a0) QMap((\"height\", QVariant(int, 1080))(\"title\", QVariant(QString, \"QtQmlViewer\"))(\"width\", QVariant(int, 1920))(\"winId\", QVariant(qulonglong, 1))(\"x\", QVariant(int, 0))(\"y\", QVariant(int, 0)))\n"
      agent:2018/09/10 09:32:18 build.go:193: QDEBUG : tst_WebGL::waitForSwapBuffers(Basic scene) 709 "qt.qpa.webgl.context: Creating context 3\n"
      agent:2018/09/10 09:32:18 build.go:193: QDEBUG : tst_WebGL::waitForSwapBuffers(Basic scene) 709 "qt.qpa.webgl.context: 0x7fb03b74dff0\n"
      agent:2018/09/10 09:32:34 build.go:193: FAIL!  : tst_WebGL::waitForSwapBuffers(Basic scene) '(std::find_if(spy.cbegin(), spy.cend(), [](const QList<QVariant> &list) { return list.first() == QLatin1String("swapBuffers"); }) != spy.cend())' returned FALSE. ()
      agent:2018/09/10 09:32:34 build.go:193:    Loc: [tst_webgl.cpp(281)]
      agent:2018/09/10 09:32:34 build.go:193: PASS   : tst_WebGL::cleanupTestCase()
      agent:2018/09/10 09:32:34 build.go:193: Totals: 3 passed, 1 failed, 0 skipped, 0 blacklisted, 24366ms
      agent:2018/09/10 09:32:34 build.go:193: ********* Finished testing of tst_WebGL *********
      agent:2018/09/10 09:32:34 build.go:193: make: *** [check] Error 1
      agent:2018/09/10 09:32:34 build.go:237: Process finished with error: exit status 2
      agent:2018/09/10 09:32:34 build.go:196: Error reading from stdout/err: exit status 2
      

        Attachments

        For Gerrit Dashboard: QTBUG-70458
        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            jefernan Jesus Fernandez
            Reporter:
            liaqi Liang Qi
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes