Skip to content

run/markdown-preview: test failure #3857

Open
@subfuzion

Description

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Labels

api: runIssues related to the Cloud Run API.priority: p2Moderately-important priority. Fix may not be included in next release.samplesIssues that are directly related to samples.triage meI really want to be triaged.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions