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

system_tests_http2 failing with error in test_post_upload_large_image_jpg #109

Closed
ganeshmurthy opened this issue Feb 28, 2022 · 1 comment
Assignees
Labels
bug Something isn't working
Milestone

Comments

@ganeshmurthy
Copy link
Contributor

ganeshmurthy commented Feb 28, 2022

/home/runner/work/skupper-router/skupper-router/skupper-router/tests/system_tests_http2.py:168: AssertionError
____ Http2TestEdgeToEdgeViaInteriorRouter.test_post_upload_large_image_jpg _____

self = <system_tests_http2.Http2TestEdgeToEdgeViaInteriorRouter testMethod=test_post_upload_large_image_jpg>

    @unittest.skipIf(skip_test(), "Python 3.7 or greater, Quart 0.13.0 or greater and curl needed to run http2 tests")
    @unittest.skipIf(skip_test_in_ci('QPID_SYSTEM_TEST_SKIP_HTTP2_LARGE_IMAGE_UPLOAD_TEST'), skip_reason)
    def test_post_upload_large_image_jpg(self):
        # curl  -X POST -H "Content-Type: multipart/form-data"  -F "data=@/home/gmurthy/opensource/test.jpg"
        # http://127.0.0.1:9000/upload --http2-prior-knowledge
        address = self.router_qdra.http_addresses[0] + "/upload"
        out = self.run_curl(address, args=['-X', 'POST', '-H', 'Content-Type: multipart/form-data',
                                           '-F', 'data=@' + image_file('test.jpg')])
>       self.assertIn('Success', out)
E       AssertionError: 'Success' not found in '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">\n<title>408 Request Timeout</title>\n<h1>Request Timeout</h1>\n<p>The server closed the network connection because the browser didn&#x27;t finish the request within the specified time.</p>\n'

https://github.com/skupperproject/skupper-router/runs/5350854560?check_suite_focus=true#step:27:4354

@ganeshmurthy
Copy link
Contributor Author

This fix to #190 must fix this issue

@ganeshmurthy ganeshmurthy modified the milestones: 2.1.0, 2.0.1 May 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants