Skip to content

nightly tests

nightly tests #144

Triggered via schedule March 31, 2026 03:55
Status Success
Total duration 7m 10s
Artifacts 4

tests.yml

on: schedule
Fit to window
Zoom out
Zoom in

Annotations

13 errors and 3 warnings
Failed Test: views anon GET for /devsites.html: cables_api/test/views.js#L0
views anon GET for /devsites.html: Error expected one of "200, 401", got 500 "Internal Server Error" - Error: expected one of "200, 401", got 500 "Internal Server Error" at Context.<anonymous> (file:///home/runner/work/cables_dev/cables_dev/cables_api/test/views.js:114:85) at process.processImmediate (node:internal/timers:478:21) ---- at Test._assertStatusArray (node_modules/supertest/lib/test.js:268:14) at /home/runner/work/cables_dev/cables_dev/cables_api/node_modules/supertest/lib/test.js:308:13 at Test._assertFunction (node_modules/supertest/lib/test.js:285:13) at Test.assert (node_modules/supertest/lib/test.js:164:23) at localAssert (node_modules/supertest/lib/test.js:120:14) at /home/runner/work/cables_dev/cables_dev/cables_api/node_modules/supertest/lib/test.js:125:7 at Request.callback (node_modules/superagent/lib/node/index.js:867:3) at IncomingMessage.<anonymous> (node_modules/superagent/lib/node/index.js:1070:18) at IncomingMessage.emit (node:events:531:35) at endReadableNT (node:internal/streams/readable:1696:12) at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
Failed Test: views user GET for /devsites.html: cables_api/test/views.js#L0
views user GET for /devsites.html: Error expected one of "200, 401", got 500 "Internal Server Error" - Error: expected one of "200, 401", got 500 "Internal Server Error" at Context.<anonymous> (file:///home/runner/work/cables_dev/cables_dev/cables_api/test/views.js:100:85) at process.processImmediate (node:internal/timers:478:21) ---- at Test._assertStatusArray (node_modules/supertest/lib/test.js:268:14) at /home/runner/work/cables_dev/cables_dev/cables_api/node_modules/supertest/lib/test.js:308:13 at Test._assertFunction (node_modules/supertest/lib/test.js:285:13) at Test.assert (node_modules/supertest/lib/test.js:164:23) at localAssert (node_modules/supertest/lib/test.js:120:14) at /home/runner/work/cables_dev/cables_dev/cables_api/node_modules/supertest/lib/test.js:125:7 at Request.callback (node_modules/superagent/lib/node/index.js:867:3) at IncomingMessage.<anonymous> (node_modules/superagent/lib/node/index.js:1070:18) at IncomingMessage.emit (node:events:531:35) at endReadableNT (node:internal/streams/readable:1696:12) at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
Failed Test: views admin GET for /devsites.html: cables_api/test/views.js#L0
views admin GET for /devsites.html: Error expected 200 "OK", got 500 "Internal Server Error" - Error: expected 200 "OK", got 500 "Internal Server Error" at Context.<anonymous> (file:///home/runner/work/cables_dev/cables_dev/cables_api/test/views.js:86:86) at process.processImmediate (node:internal/timers:478:21) ---- at Test._assertStatus (node_modules/supertest/lib/test.js:252:14) at /home/runner/work/cables_dev/cables_dev/cables_api/node_modules/supertest/lib/test.js:308:13 at Test._assertFunction (node_modules/supertest/lib/test.js:285:13) at Test.assert (node_modules/supertest/lib/test.js:164:23) at localAssert (node_modules/supertest/lib/test.js:120:14) at /home/runner/work/cables_dev/cables_dev/cables_api/node_modules/supertest/lib/test.js:125:7 at Request.callback (node_modules/superagent/lib/node/index.js:867:3) at IncomingMessage.<anonymous> (node_modules/superagent/lib/node/index.js:1070:18) at IncomingMessage.emit (node:events:531:35) at endReadableNT (node:internal/streams/readable:1696:12) at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
Failed Test: views GET /sitemap.xml should be public: cables_api/test/views.js#L0
views GET /sitemap.xml should be public: Error expected 200 "OK", got 500 "Internal Server Error" - Error: expected 200 "OK", got 500 "Internal Server Error" at PublicViewsTest.request (file:///home/runner/work/cables_dev/cables_dev/cables_api/test/common/view_tests.js:92:19) at PublicViewsTest.testSiteMap (file:///home/runner/work/cables_dev/cables_dev/cables_api/test/views/public_views_test.js:274:14) at Context.<anonymous> (file:///home/runner/work/cables_dev/cables_dev/cables_api/test/views.js:59:46) at process.processImmediate (node:internal/timers:478:21) ---- at Test._assertStatus (node_modules/supertest/lib/test.js:252:14) at /home/runner/work/cables_dev/cables_dev/cables_api/node_modules/supertest/lib/test.js:308:13 at Test._assertFunction (node_modules/supertest/lib/test.js:285:13) at Test.assert (node_modules/supertest/lib/test.js:164:23) at localAssert (node_modules/supertest/lib/test.js:120:14) at /home/runner/work/cables_dev/cables_dev/cables_api/node_modules/supertest/lib/test.js:125:7 at Request.callback (node_modules/superagent/lib/node/index.js:867:3) at IncomingMessage.<anonymous> (node_modules/superagent/lib/node/index.js:1070:18) at IncomingMessage.emit (node:events:531:35) at endReadableNT (node:internal/streams/readable:1696:12) at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
Failed Test: views GET /docs should be public and redirect to index page: cables_api/test/views.js#L0
views GET /docs should be public and redirect to index page: Error expected 302 "Found", got 200 "OK" - Error: expected 302 "Found", got 200 "OK" at PublicViewsTest.simpleRequest (file:///home/runner/work/cables_dev/cables_dev/cables_api/test/common/base_tests.js:127:19) at PublicViewsTest.<anonymous> (file:///home/runner/work/cables_dev/cables_dev/cables_api/test/common/view_tests.js:40:18) at Context.<anonymous> (file:///home/runner/work/cables_dev/cables_dev/cables_api/test/views.js:59:46) at process.processImmediate (node:internal/timers:478:21) ---- at Test._assertStatus (node_modules/supertest/lib/test.js:252:14) at /home/runner/work/cables_dev/cables_dev/cables_api/node_modules/supertest/lib/test.js:308:13 at Test._assertFunction (node_modules/supertest/lib/test.js:285:13) at Test.assert (node_modules/supertest/lib/test.js:164:23) at localAssert (node_modules/supertest/lib/test.js:120:14) at /home/runner/work/cables_dev/cables_dev/cables_api/node_modules/supertest/lib/test.js:125:7 at Request.callback (node_modules/superagent/lib/node/index.js:857:12) at IncomingMessage.<anonymous> (node_modules/superagent/lib/node/index.js:1070:18) at IncomingMessage.emit (node:events:531:35) at endReadableNT (node:internal/streams/readable:1696:12) at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
build
Process completed with exit code 5.
Failed Test: endpoints GET /api/avatar/:userId/:size should return image when given invalid size: cables_api/test/endpoints.js#L0
endpoints GET /api/avatar/:userId/:size should return image when given invalid size: AssertionError expected 'true' not to be 'true' (false negative fail) - AssertionError: expected 'true' not to be 'true' (false negative fail) at Assertion.fail (node_modules/should/cjs/should.js:275:17) at Assertion.value (node_modules/should/cjs/should.js:368:17) at Test.<anonymous> (file:///home/runner/work/cables_dev/cables_dev/cables_api/test/endpoints/avatars_endpoint_tests.js:163:64) at Test.assert (node_modules/supertest/lib/test.js:172:8) at localAssert (node_modules/supertest/lib/test.js:120:14) at /home/runner/work/cables_dev/cables_dev/cables_api/node_modules/supertest/lib/test.js:125:7 at Request.callback (node_modules/superagent/lib/node/index.js:867:3) at /home/runner/work/cables_dev/cables_dev/cables_api/node_modules/superagent/lib/node/index.js:1070:18 at IncomingMessage.<anonymous> (node_modules/superagent/lib/node/parsers/image.js:10:5) at IncomingMessage.emit (node:events:531:35) at endReadableNT (node:internal/streams/readable:1696:12) at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
Failed Test: endpoints GET /api/avatar/:userId/:size should resize image when given size: cables_api/test/endpoints.js#L0
endpoints GET /api/avatar/:userId/:size should resize image when given size: AssertionError expected '0' to be '75' - AssertionError: expected '0' to be '75' at Assertion.fail (node_modules/should/cjs/should.js:275:17) at Assertion.value (node_modules/should/cjs/should.js:356:19) at Test.<anonymous> (file:///home/runner/work/cables_dev/cables_dev/cables_api/test/endpoints/avatars_endpoint_tests.js:136:53) at Test.assert (node_modules/supertest/lib/test.js:172:8) at localAssert (node_modules/supertest/lib/test.js:120:14) at /home/runner/work/cables_dev/cables_dev/cables_api/node_modules/supertest/lib/test.js:125:7 at Request.callback (node_modules/superagent/lib/node/index.js:867:3) at /home/runner/work/cables_dev/cables_dev/cables_api/node_modules/superagent/lib/node/index.js:1070:18 at IncomingMessage.<anonymous> (node_modules/superagent/lib/node/parsers/image.js:10:5) at IncomingMessage.emit (node:events:531:35) at endReadableNT (node:internal/streams/readable:1696:12) at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
Failed Test: endpoints GET /api/avatar/:userId/:size should return image for anon users: cables_api/test/endpoints.js#L0
endpoints GET /api/avatar/:userId/:size should return image for anon users: AssertionError expected '0' to be '263' - AssertionError: expected '0' to be '263' at Assertion.fail (node_modules/should/cjs/should.js:275:17) at Assertion.value (node_modules/should/cjs/should.js:356:19) at Test.<anonymous> (file:///home/runner/work/cables_dev/cables_dev/cables_api/test/endpoints/avatars_endpoint_tests.js:120:53) at Test.assert (node_modules/supertest/lib/test.js:172:8) at localAssert (node_modules/supertest/lib/test.js:120:14) at /home/runner/work/cables_dev/cables_dev/cables_api/node_modules/supertest/lib/test.js:125:7 at Request.callback (node_modules/superagent/lib/node/index.js:867:3) at /home/runner/work/cables_dev/cables_dev/cables_api/node_modules/superagent/lib/node/index.js:1070:18 at IncomingMessage.<anonymous> (node_modules/superagent/lib/node/parsers/image.js:10:5) at IncomingMessage.emit (node:events:531:35) at endReadableNT (node:internal/streams/readable:1696:12) at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
Failed Test: endpoints GET /api/avatar/:userId should return image for normal user: cables_api/test/endpoints.js#L0
endpoints GET /api/avatar/:userId should return image for normal user: AssertionError expected '0' to be '33' - AssertionError: expected '0' to be '33' at Assertion.fail (node_modules/should/cjs/should.js:275:17) at Assertion.value (node_modules/should/cjs/should.js:356:19) at Test.<anonymous> (file:///home/runner/work/cables_dev/cables_dev/cables_api/test/endpoints/avatars_endpoint_tests.js:93:53) at Test.assert (node_modules/supertest/lib/test.js:172:8) at localAssert (node_modules/supertest/lib/test.js:120:14) at /home/runner/work/cables_dev/cables_dev/cables_api/node_modules/supertest/lib/test.js:125:7 at Request.callback (node_modules/superagent/lib/node/index.js:867:3) at /home/runner/work/cables_dev/cables_dev/cables_api/node_modules/superagent/lib/node/index.js:1070:18 at IncomingMessage.<anonymous> (node_modules/superagent/lib/node/parsers/image.js:10:5) at IncomingMessage.emit (node:events:531:35) at endReadableNT (node:internal/streams/readable:1696:12) at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
Failed Test: endpoints GET /api/avatar/:userId should return image for anon users: cables_api/test/endpoints.js#L0
endpoints GET /api/avatar/:userId should return image for anon users: AssertionError expected '0' to be '33' - AssertionError: expected '0' to be '33' at Assertion.fail (node_modules/should/cjs/should.js:275:17) at Assertion.value (node_modules/should/cjs/should.js:356:19) at Test.<anonymous> (file:///home/runner/work/cables_dev/cables_dev/cables_api/test/endpoints/avatars_endpoint_tests.js:77:53) at Test.assert (node_modules/supertest/lib/test.js:172:8) at localAssert (node_modules/supertest/lib/test.js:120:14) at /home/runner/work/cables_dev/cables_dev/cables_api/node_modules/supertest/lib/test.js:125:7 at Request.callback (node_modules/superagent/lib/node/index.js:867:3) at /home/runner/work/cables_dev/cables_dev/cables_api/node_modules/superagent/lib/node/index.js:1070:18 at IncomingMessage.<anonymous> (node_modules/superagent/lib/node/parsers/image.js:10:5) at IncomingMessage.emit (node:events:531:35) at endReadableNT (node:internal/streams/readable:1696:12) at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
Failed Test: endpoints GET /api/admin/activity should return active users: cables_api/test/endpoints.js#L0
endpoints GET /api/admin/activity should return active users: AssertionError expected 0 to be above or equal 1 - AssertionError: expected 0 to be above or equal 1 at Assertion.fail (node_modules/should/cjs/should.js:275:17) at Assertion.value (node_modules/should/cjs/should.js:356:19) at Test.<anonymous> (file:///home/runner/work/cables_dev/cables_dev/cables_api/test/endpoints/admin_endpoint_tests.js:141:43) at Test.assert (node_modules/supertest/lib/test.js:172:8) at localAssert (node_modules/supertest/lib/test.js:120:14) at /home/runner/work/cables_dev/cables_dev/cables_api/node_modules/supertest/lib/test.js:125:7 at Request.callback (node_modules/superagent/lib/node/index.js:857:12) at /home/runner/work/cables_dev/cables_dev/cables_api/node_modules/superagent/lib/node/index.js:1070:18 at IncomingMessage.<anonymous> (node_modules/superagent/lib/node/parsers/json.js:21:7) at IncomingMessage.emit (node:events:531:35) at endReadableNT (node:internal/streams/readable:1696:12) at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
build
Process completed with exit code 6.
build
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
build
GitHub token is required to authenticate Octokit Unable to fetch previous test results - this is likely a permissions issue. To enable previous results and test metrics, you need to: 1. Set the GITHUB_TOKEN environment variable, or 2. Use the default GitHub Actions token: "${{ secrets.GITHUB_TOKEN }}" Add this to your workflow file: jobs: test: runs-on: ubuntu-latest permissions: actions: read contents: read See documentation: https://docs.github.com/en/actions/security-for-github-actions/security-guides/automatic-token-authentication#permissions-for-the-github_token The token is needed to access workflow runs and artifacts from previous test executions. Without it, the action will skip previous results processing and only generate reports from the current run.
build
GitHub token is required to authenticate Octokit Unable to fetch previous test results - this is likely a permissions issue. To enable previous results and test metrics, you need to: 1. Set the GITHUB_TOKEN environment variable, or 2. Use the default GitHub Actions token: "${{ secrets.GITHUB_TOKEN }}" Add this to your workflow file: jobs: test: runs-on: ubuntu-latest permissions: actions: read contents: read See documentation: https://docs.github.com/en/actions/security-for-github-actions/security-guides/automatic-token-authentication#permissions-for-the-github_token The token is needed to access workflow runs and artifacts from previous test executions. Without it, the action will skip previous results processing and only generate reports from the current run.

Artifacts

Produced during runtime
Name Size Digest
api-report
27.6 KB
sha256:39942bb1dbe8e977797cf74ca02d28628f344efef891ab9423ade99d0290fe4c
devlive-report
3.89 KB
sha256:34516e2b0abefe31bc15502bb035832823d3953f27b8cd93a75c8048a3b9d3aa
export-report
10.5 KB
sha256:c486ed523f849a4b8c2ef7223ee95186709944cfc42539ad42d753b14e153258
views-report
10.1 KB
sha256:7ea2ba504dad78730152414f4d548cc88a3db94d9d3e28891a1d25c8966503b4