Skip to content

3.1.2 Set the PTY fd to be non-blocking #204

3.1.2 Set the PTY fd to be non-blocking

3.1.2 Set the PTY fd to be non-blocking #204

Triggered via pull request July 15, 2024 16:46
Status Failure
Total duration 26m 30s
Billable time 27m
Artifacts

CI.yml

on: pull_request
Matrix: build-test
Publish
0s
Publish
Fit to window
Zoom out
Zoom in

Annotations

12 errors
Unhandled error: tests/index.test.ts#L58
AssertionError: expected { '0': 'pipe:[39019]', …(31) } to strictly equal { '0': 'pipe:[39019]', …(32) } - Expected + Received Object { "0": "pipe:[39019]", "1": "pipe:[39020]", "10": "pipe:[36821]", "11": "pipe:[36821]", "110": "pipe:[34507]", "113": "pipe:[34508]", "12": "anon_inode:[eventfd]", "13": "anon_inode:[eventpoll]", "14": "pipe:[37444]", "15": "pipe:[37444]", "16": "anon_inode:[eventfd]", "18": "anon_inode:[eventpoll]", "19": "pipe:[36827]", "2": "pipe:[39021]", "20": "pipe:[36827]", "21": "anon_inode:[eventfd]", "22": "anon_inode:[eventpoll]", "23": "pipe:[38489]", "24": "pipe:[38489]", "25": "anon_inode:[eventfd]", "26": "anon_inode:[eventpoll]", "27": "pipe:[39044]", "28": "/dev/null", "29": "pipe:[39044]", "3": "anon_inode:[eventpoll]", "30": "anon_inode:[eventfd]", - "32": "/dev/ptmx", "4": "pipe:[37442]", "5": "pipe:[37442]", "6": "pipe:[37443]", "7": "pipe:[37443]", "8": "anon_inode:[eventfd]", "9": "anon_inode:[eventpoll]", } ❯ onExit tests/index.test.ts:58:34 ❯ wrapper.ts:84:35 ❯ processTicksAndRejections node:internal/process/task_queues:95:5 This error originated in "tests/index.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "spawns and exits". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: tests/index.test.ts#L58
AssertionError: expected { '0': 'pipe:[39019]', …(31) } to strictly equal { '0': 'pipe:[39019]', …(36) } - Expected + Received Object { "0": "pipe:[39019]", "1": "pipe:[39020]", "10": "pipe:[36821]", "11": "pipe:[36821]", "110": "pipe:[34507]", "113": "pipe:[34508]", "12": "anon_inode:[eventfd]", "13": "anon_inode:[eventpoll]", "14": "pipe:[37444]", "15": "pipe:[37444]", "16": "anon_inode:[eventfd]", "18": "anon_inode:[eventpoll]", "19": "pipe:[36827]", "2": "pipe:[39021]", "20": "pipe:[36827]", "21": "anon_inode:[eventfd]", "22": "anon_inode:[eventpoll]", "23": "pipe:[38489]", "24": "pipe:[38489]", "25": "anon_inode:[eventfd]", "26": "anon_inode:[eventpoll]", "27": "pipe:[39044]", "28": "/dev/null", "29": "pipe:[39044]", "3": "anon_inode:[eventpoll]", "30": "anon_inode:[eventfd]", - "32": "/dev/ptmx", - "34": "/dev/ptmx", - "35": "/dev/ptmx", - "36": "/dev/ptmx", - "37": "/dev/ptmx", "4": "pipe:[37442]", "5": "pipe:[37442]", "6": "pipe:[37443]", "7": "pipe:[37443]", "8": "anon_inode:[eventfd]", "9": "anon_inode:[eventpoll]", } ❯ onExit tests/index.test.ts:58:34 ❯ wrapper.ts:84:35 ❯ processTicksAndRejections node:internal/process/task_queues:95:5 This error originated in "tests/index.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "spawns and exits". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: tests/index.test.ts#L104
AssertionError: expected { '0': 'pipe:[39019]', …(31) } to strictly equal { '0': 'pipe:[39019]', …(34) } - Expected + Received Object { "0": "pipe:[39019]", "1": "pipe:[39020]", "10": "pipe:[36821]", "11": "pipe:[36821]", "110": "pipe:[34507]", "113": "pipe:[34508]", "12": "anon_inode:[eventfd]", "13": "anon_inode:[eventpoll]", "14": "pipe:[37444]", "15": "pipe:[37444]", "16": "anon_inode:[eventfd]", "18": "anon_inode:[eventpoll]", "19": "pipe:[36827]", "2": "pipe:[39021]", "20": "pipe:[36827]", "21": "anon_inode:[eventfd]", "22": "anon_inode:[eventpoll]", "23": "pipe:[38489]", "24": "pipe:[38489]", "25": "anon_inode:[eventfd]", "26": "anon_inode:[eventpoll]", "27": "pipe:[39044]", "28": "/dev/null", "29": "pipe:[39044]", "3": "anon_inode:[eventpoll]", "30": "anon_inode:[eventfd]", - "32": "/dev/ptmx", - "34": "/dev/ptmx", - "35": "/dev/ptmx", "4": "pipe:[37442]", "5": "pipe:[37442]", "6": "pipe:[37443]", "7": "pipe:[37443]", "8": "anon_inode:[eventfd]", "9": "anon_inode:[eventpoll]", } ❯ onExit tests/index.test.ts:104:34 ❯ wrapper.ts:84:35 ❯ processTicksAndRejections node:internal/process/task_queues:95:5 This error originated in "tests/index.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "can be written to". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: tests/index.test.ts#L104
AssertionError: expected { '0': 'pipe:[39019]', …(31) } to strictly equal { '0': 'pipe:[39019]', …(33) } - Expected + Received Object { "0": "pipe:[39019]", "1": "pipe:[39020]", "10": "pipe:[36821]", "11": "pipe:[36821]", "110": "pipe:[34507]", "113": "pipe:[34508]", "12": "anon_inode:[eventfd]", "13": "anon_inode:[eventpoll]", "14": "pipe:[37444]", "15": "pipe:[37444]", "16": "anon_inode:[eventfd]", "18": "anon_inode:[eventpoll]", "19": "pipe:[36827]", "2": "pipe:[39021]", "20": "pipe:[36827]", "21": "anon_inode:[eventfd]", "22": "anon_inode:[eventpoll]", "23": "pipe:[38489]", "24": "pipe:[38489]", "25": "anon_inode:[eventfd]", "26": "anon_inode:[eventpoll]", "27": "pipe:[39044]", "28": "/dev/null", "29": "pipe:[39044]", "3": "anon_inode:[eventpoll]", "30": "anon_inode:[eventfd]", - "32": "/dev/ptmx", - "34": "/dev/ptmx", "4": "pipe:[37442]", "5": "pipe:[37442]", "6": "pipe:[37443]", "7": "pipe:[37443]", "8": "anon_inode:[eventfd]", "9": "anon_inode:[eventpoll]", } ❯ onExit tests/index.test.ts:104:34 ❯ wrapper.ts:84:35 ❯ processTicksAndRejections node:internal/process/task_queues:95:5 This error originated in "tests/index.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "can be written to". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: tests/index.test.ts#L104
AssertionError: expected { '0': 'pipe:[39019]', …(31) } to strictly equal { '0': 'pipe:[39019]', …(35) } - Expected + Received Object { "0": "pipe:[39019]", "1": "pipe:[39020]", "10": "pipe:[36821]", "11": "pipe:[36821]", "110": "pipe:[34507]", "113": "pipe:[34508]", "12": "anon_inode:[eventfd]", "13": "anon_inode:[eventpoll]", "14": "pipe:[37444]", "15": "pipe:[37444]", "16": "anon_inode:[eventfd]", "18": "anon_inode:[eventpoll]", "19": "pipe:[36827]", "2": "pipe:[39021]", "20": "pipe:[36827]", "21": "anon_inode:[eventfd]", "22": "anon_inode:[eventpoll]", "23": "pipe:[38489]", "24": "pipe:[38489]", "25": "anon_inode:[eventfd]", "26": "anon_inode:[eventpoll]", "27": "pipe:[39044]", "28": "/dev/null", "29": "pipe:[39044]", "3": "anon_inode:[eventpoll]", "30": "anon_inode:[eventfd]", - "32": "/dev/ptmx", - "34": "/dev/ptmx", - "35": "/dev/ptmx", - "36": "/dev/ptmx", "4": "pipe:[37442]", "5": "pipe:[37442]", "6": "pipe:[37443]", "7": "pipe:[37443]", "8": "anon_inode:[eventfd]", "9": "anon_inode:[eventpoll]", } ❯ onExit tests/index.test.ts:104:34 ❯ wrapper.ts:84:35 ❯ processTicksAndRejections node:internal/process/task_queues:95:5 This error originated in "tests/index.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "can be written to". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: tests/index.test.ts#L104
AssertionError: expected { '0': 'pipe:[39019]', …(31) } to strictly equal { '0': 'pipe:[39019]', …(34) } - Expected + Received Object { "0": "pipe:[39019]", "1": "pipe:[39020]", "10": "pipe:[36821]", "11": "pipe:[36821]", "110": "pipe:[34507]", "113": "pipe:[34508]", "12": "anon_inode:[eventfd]", "13": "anon_inode:[eventpoll]", "14": "pipe:[37444]", "15": "pipe:[37444]", "16": "anon_inode:[eventfd]", "18": "anon_inode:[eventpoll]", "19": "pipe:[36827]", "2": "pipe:[39021]", "20": "pipe:[36827]", "21": "anon_inode:[eventfd]", "22": "anon_inode:[eventpoll]", "23": "pipe:[38489]", "24": "pipe:[38489]", "25": "anon_inode:[eventfd]", "26": "anon_inode:[eventpoll]", "27": "pipe:[39044]", "28": "/dev/null", "29": "pipe:[39044]", "3": "anon_inode:[eventpoll]", "30": "anon_inode:[eventfd]", - "32": "/dev/ptmx", - "34": "/dev/ptmx", - "35": "/dev/ptmx", "4": "pipe:[37442]", "5": "pipe:[37442]", "6": "pipe:[37443]", "7": "pipe:[37443]", "8": "anon_inode:[eventfd]", "9": "anon_inode:[eventpoll]", } ❯ onExit tests/index.test.ts:104:34 ❯ wrapper.ts:84:35 ❯ processTicksAndRejections node:internal/process/task_queues:95:5 This error originated in "tests/index.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "can be written to". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: tests/index.test.ts#L104
AssertionError: expected { '0': 'pipe:[39019]', …(31) } to strictly equal { '0': 'pipe:[39019]', …(33) } - Expected + Received Object { "0": "pipe:[39019]", "1": "pipe:[39020]", "10": "pipe:[36821]", "11": "pipe:[36821]", "110": "pipe:[34507]", "113": "pipe:[34508]", "12": "anon_inode:[eventfd]", "13": "anon_inode:[eventpoll]", "14": "pipe:[37444]", "15": "pipe:[37444]", "16": "anon_inode:[eventfd]", "18": "anon_inode:[eventpoll]", "19": "pipe:[36827]", "2": "pipe:[39021]", "20": "pipe:[36827]", "21": "anon_inode:[eventfd]", "22": "anon_inode:[eventpoll]", "23": "pipe:[38489]", "24": "pipe:[38489]", "25": "anon_inode:[eventfd]", "26": "anon_inode:[eventpoll]", "27": "pipe:[39044]", "28": "/dev/null", "29": "pipe:[39044]", "3": "anon_inode:[eventpoll]", "30": "anon_inode:[eventfd]", - "32": "/dev/ptmx", - "34": "/dev/ptmx", "4": "pipe:[37442]", "5": "pipe:[37442]", "6": "pipe:[37443]", "7": "pipe:[37443]", "8": "anon_inode:[eventfd]", "9": "anon_inode:[eventpoll]", } ❯ onExit tests/index.test.ts:104:34 ❯ wrapper.ts:84:35 ❯ processTicksAndRejections node:internal/process/task_queues:95:5 This error originated in "tests/index.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "can be written to". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: tests/index.test.ts#L104
AssertionError: expected { '0': 'pipe:[39019]', …(31) } to strictly equal { '0': 'pipe:[39019]', …(32) } - Expected + Received Object { "0": "pipe:[39019]", "1": "pipe:[39020]", "10": "pipe:[36821]", "11": "pipe:[36821]", "110": "pipe:[34507]", "113": "pipe:[34508]", "12": "anon_inode:[eventfd]", "13": "anon_inode:[eventpoll]", "14": "pipe:[37444]", "15": "pipe:[37444]", "16": "anon_inode:[eventfd]", "18": "anon_inode:[eventpoll]", "19": "pipe:[36827]", "2": "pipe:[39021]", "20": "pipe:[36827]", "21": "anon_inode:[eventfd]", "22": "anon_inode:[eventpoll]", "23": "pipe:[38489]", "24": "pipe:[38489]", "25": "anon_inode:[eventfd]", "26": "anon_inode:[eventpoll]", "27": "pipe:[39044]", "28": "/dev/null", "29": "pipe:[39044]", "3": "anon_inode:[eventpoll]", "30": "anon_inode:[eventfd]", - "32": "/dev/ptmx", "4": "pipe:[37442]", "5": "pipe:[37442]", "6": "pipe:[37443]", "7": "pipe:[37443]", "8": "anon_inode:[eventfd]", "9": "anon_inode:[eventpoll]", } ❯ onExit tests/index.test.ts:104:34 ❯ wrapper.ts:84:35 ❯ processTicksAndRejections node:internal/process/task_queues:95:5 This error originated in "tests/index.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "can be written to". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: tests/index.test.ts#L104
AssertionError: expected { '0': 'pipe:[39019]', …(31) } to strictly equal { '0': 'pipe:[39019]', …(34) } - Expected + Received Object { "0": "pipe:[39019]", "1": "pipe:[39020]", "10": "pipe:[36821]", "11": "pipe:[36821]", "110": "pipe:[34507]", "113": "pipe:[34508]", "12": "anon_inode:[eventfd]", "13": "anon_inode:[eventpoll]", "14": "pipe:[37444]", "15": "pipe:[37444]", "16": "anon_inode:[eventfd]", "18": "anon_inode:[eventpoll]", "19": "pipe:[36827]", "2": "pipe:[39021]", "20": "pipe:[36827]", "21": "anon_inode:[eventfd]", "22": "anon_inode:[eventpoll]", "23": "pipe:[38489]", "24": "pipe:[38489]", "25": "anon_inode:[eventfd]", "26": "anon_inode:[eventpoll]", "27": "pipe:[39044]", "28": "/dev/null", "29": "pipe:[39044]", "3": "anon_inode:[eventpoll]", "30": "anon_inode:[eventfd]", - "32": "/dev/ptmx", - "34": "/dev/ptmx", - "35": "/dev/ptmx", "4": "pipe:[37442]", "5": "pipe:[37442]", "6": "pipe:[37443]", "7": "pipe:[37443]", "8": "anon_inode:[eventfd]", "9": "anon_inode:[eventpoll]", } ❯ onExit tests/index.test.ts:104:34 ❯ wrapper.ts:84:35 ❯ processTicksAndRejections node:internal/process/task_queues:95:5 This error originated in "tests/index.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "can be written to". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: tests/index.test.ts#L182
AssertionError: expected { '0': 'pipe:[39019]', …(133) } to strictly equal { '0': 'pipe:[39019]', …(138) } - Expected + Received Object { "0": "pipe:[39019]", "1": "pipe:[39020]", "10": "pipe:[36821]", "100": "/dev/pts/33", "101": "/dev/ptmx", "102": "/dev/pts/34", "103": "/dev/ptmx", "104": "/dev/pts/35", "105": "/dev/ptmx", "106": "/dev/pts/36", "107": "/dev/ptmx", "108": "/dev/pts/37", "109": "/dev/ptmx", "11": "pipe:[36821]", "110": "pipe:[34507]", "111": "/dev/pts/38", "112": "/dev/ptmx", "113": "pipe:[34508]", "114": "/dev/pts/39", "115": "/dev/ptmx", "116": "/dev/pts/40", "117": "/dev/ptmx", "118": "/dev/pts/41", "119": "/dev/ptmx", "12": "anon_inode:[eventfd]", "120": "/dev/pts/42", "121": "/dev/ptmx", "122": "/dev/pts/43", "123": "/dev/ptmx", "124": "/dev/pts/44", "125": "/dev/ptmx", "126": "/dev/pts/45", "127": "/dev/ptmx", "128": "/dev/pts/46", "129": "/dev/ptmx", "13": "anon_inode:[eventpoll]", "130": "/dev/pts/47", "131": "/dev/ptmx", "132": "/dev/pts/48", "133": "/dev/ptmx", "134": "/dev/pts/49", "135": "/dev/ptmx", "136": "/dev/pts/50", - "137": "/dev/ptmx", - "138": "/dev/ptmx", - "139": "/dev/ptmx", "14": "pipe:[37444]", - "140": "/dev/ptmx", - "141": "/dev/ptmx", "15": "pipe:[37444]", "16": "anon_inode:[eventfd]", "18": "anon_inode:[eventpoll]", "19": "pipe:[36827]", "2": "pipe:[39021]", "20": "pipe:[36827]", "21": "anon_inode:[eventfd]", "22": "anon_inode:[eventpoll]", "23": "pipe:[38489]", "24": "pipe:[38489]", "25": "anon_inode:[eventfd]", "26": "anon_inode:[eventpoll]", "27": "pipe:[39044]", "28": "/dev/null", "29": "pipe:[39044]", "3": "anon_inode:[eventpoll]", "30": "anon_inode:[eventfd]", "32": "/dev/ptmx", "34": "/dev/pts/0", "35": "/dev/ptmx", "36": "/dev/pts/1", "37": "/dev/ptmx", "38": "/dev/pts/2", "39": "/dev/ptmx", "4": "pipe:[37442]", "40": "/dev/pts/3", "41": "/dev/ptmx", "42": "/dev/pts/4", "43": "/dev/ptmx", "44": "/dev/pts/5", "45": "/dev/ptmx", "46": "/dev/pts/6", "47": "/dev/ptmx", "48": "/dev/pts/7", "49": "/dev/ptmx", "5": "pipe:[37442]", "50": "/dev/pts/8", "51": "/dev/ptmx", "52": "/dev/pts/9", "53": "/dev/ptmx", "54": "/dev/pts/10", "55": "/dev/ptmx", "56": "/dev/pts/11", "57": "/dev/ptmx", "58": "/dev/pts/12", "59": "/dev/ptmx", "6": "pipe:[37443]", "60": "/dev/pts/13", "61": "/dev/ptmx", "62": "/dev/pts/14", "63": "/dev/ptmx", "64": "/dev/pts/15", "65": "/dev/ptmx", "66": "/dev/pts/16", "67": "/dev/ptmx", "68": "/dev/pts/17", "69": "/dev/ptmx", "7": "pipe:[37443]", "70": "/dev/pts/18", "71": "/dev/ptmx", "72": "/dev/pts/19", "73": "/dev/ptmx", "74": "/dev/pts/20", "75": "/dev/ptmx", "76": "/dev/pts/21", "77": "/dev/ptmx", "78": "/dev/pts/22", "79": "/dev/ptmx", "8": "anon_inode:[eventfd]", "80": "/dev/pts/23", "81": "/dev/ptmx", "82": "/dev/pts/24", "83": "/dev/ptmx", "84": "/dev/pts/25", "85": "/dev/ptmx", "86": "/dev/pts/26", "87": "/dev/ptmx", "88": "/dev/pts/27", "89": "/dev/ptmx", "9": "anon_inode:[eventpoll]", "90": "/dev/pts/28", "91": "/dev/ptmx", "92": "/dev/pts/29", "93": "/dev/ptmx", "94": "/dev/pts/30", "95": "/dev/ptmx", "96": "/dev/pts/31", "97": "/dev/ptmx", "98": "/dev/pts/32", "99": "/dev/ptmx", } ❯ onExit tests/index.test.ts:182:34 ❯ wrapper.ts:84:35 ❯ processTicksAndRejections node:internal/process/task_queues:95:5 This error originated in "tests/index.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "respects working directory". It might mean one of the following: - The error was thrown, while Vitest was
Build and test on aarch64-apple-darwin
Process completed with exit code 1.
Build and test on x86_64-apple-darwin
Process completed with exit code 1.