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

run/markdown-preview: test failure #3857

Open
subfuzion opened this issue Sep 15, 2024 · 0 comments
Open

run/markdown-preview: test failure #3857

subfuzion opened this issue Sep 15, 2024 · 0 comments
Assignees
Labels
api: run Issues related to the Cloud Run API. priority: p2 Moderately-important priority. Fix may not be included in next release. samples Issues that are directly related to samples. triage me I really want to be triaged. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.

Comments

@subfuzion
Copy link
Member

Currently blocking: #3822

Test fails log

> [email protected] test
> c8 mocha -p -j 2 test/app.test.js --timeout=10000 --exit

Error rendering markdown: Error: request to rendering service failed: Response code 405 (Method Not Allowed)
    at renderRequest (/tmpfs/src/github/nodejs-docs-samples/run/markdown-preview/editor/render.js:56:11)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async /tmpfs/src/github/nodejs-docs-samples/run/markdown-preview/editor/app.js:55:22
Error rendering markdown: Error: request to rendering service failed: Response code 405 (Method Not Allowed)
    at renderRequest (/tmpfs/src/github/nodejs-docs-samples/run/markdown-preview/editor/render.js:56:11)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async /tmpfs/src/github/nodejs-docs-samples/run/markdown-preview/editor/app.js:55:22
Error rendering markdown: Error: request to rendering service failed: Response code 405 (Method Not Allowed)
    at renderRequest (/tmpfs/src/github/nodejs-docs-samples/run/markdown-preview/editor/render.js:56:11)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async /tmpfs/src/github/nodejs-docs-samples/run/markdown-preview/editor/app.js:55:22
Error rendering markdown: Error: request to rendering service failed: Response code 405 (Method Not Allowed)
    at renderRequest (/tmpfs/src/github/nodejs-docs-samples/run/markdown-preview/editor/render.js:56:11)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async /tmpfs/src/github/nodejs-docs-samples/run/markdown-preview/editor/app.js:55:22
SyntaxError: Unexpected token s in JSON at position 0
    at JSON.parse ()
    at createStrictSyntaxError (/tmpfs/src/github/nodejs-docs-samples/run/markdown-preview/editor/node_modules/body-parser/lib/types/json.js:169:10)
    at parse (/tmpfs/src/github/nodejs-docs-samples/run/markdown-preview/editor/node_modules/body-parser/lib/types/json.js:86:15)
    at /tmpfs/src/github/nodejs-docs-samples/run/markdown-preview/editor/node_modules/body-parser/lib/read.js:128:18
    at AsyncResource.runInAsyncScope (node:async_hooks:203:9)
    at invokeCallback (/tmpfs/src/github/nodejs-docs-samples/run/markdown-preview/editor/node_modules/raw-body/index.js:238:16)
    at done (/tmpfs/src/github/nodejs-docs-samples/run/markdown-preview/editor/node_modules/raw-body/index.js:227:7)
    at IncomingMessage.onEnd (/tmpfs/src/github/nodejs-docs-samples/run/markdown-preview/editor/node_modules/raw-body/index.js:287:7)
    at IncomingMessage.emit (node:events:525:35)
    at endReadableNT (node:internal/streams/readable:1358:12)
-----------|---------|----------|---------|---------|-------------------
File       | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s 
-----------|---------|----------|---------|---------|-------------------
All files  |   93.07 |    53.84 |     100 |   93.07 |                   
 app.js    |   91.17 |    57.14 |     100 |   91.17 | 35-36,44-46,56    
 render.js |   95.16 |       50 |     100 |   95.16 | 48-49,54          
-----------|---------|----------|---------|---------|-------------------
error: line 129 github/nodejs-docs-samples/.kokoro/build-with-run.sh


[ID: 9991002] Command finished after 155 secs, exit value: 1
@subfuzion subfuzion added type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. triage me I really want to be triaged. priority: p2 Moderately-important priority. Fix may not be included in next release. labels Sep 15, 2024
@product-auto-label product-auto-label bot added api: run Issues related to the Cloud Run API. samples Issues that are directly related to samples. labels Sep 15, 2024
@subfuzion subfuzion self-assigned this Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: run Issues related to the Cloud Run API. priority: p2 Moderately-important priority. Fix may not be included in next release. samples Issues that are directly related to samples. triage me I really want to be triaged. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Projects
None yet
Development

No branches or pull requests

2 participants