iotjs icon indicating copy to clipboard operation
iotjs copied to clipboard

./tools/build.py ValueError: Number of processes must be at least 1 Failed run_checktest

Open ysdafa opened this issue 11 years ago • 3 comments

/home/ys/myGit/iotjs/tools/check_test.py /home/ys/myGit/iotjs/build/x86_64-linux/debug/iotjs/iotjs

[ run_pass ] Test Run

Traceback (most recent call last): File "/home/ys/myGit/iotjs/tools/check_test.py", line 276, in if not test'handler': File "/home/ys/myGit/iotjs/tools/check_test.py", line 229, in run_pass_test passes, fails, skips = run_tests('run_pass', RUN_PASS_DIR) File "/home/ys/myGit/iotjs/tools/check_test.py", line 215, in run_tests pool = multiprocessing.Pool(processes = PROCESSES) File "/usr/lib/python3.4/multiprocessing/context.py", line 118, in Pool context=self.get_context()) File "/usr/lib/python3.4/multiprocessing/pool.py", line 161, in init raise ValueError("Number of processes must be at least 1") ValueError: Number of processes must be at least 1

Failed run_checktest

ysdafa avatar Aug 28 '15 07:08 ysdafa

Sorry, I found the reason. For I running in virtualbox, the default CPU is set to 1. After change CPU to 2, the issue fixed.

ysdafa avatar Aug 28 '15 08:08 ysdafa

@ysdafa Thanks for pointing this out!

This obviously is a bug.

We'll fix this.

ILyoan avatar Aug 30 '15 23:08 ILyoan

Closing as #214 landed.

wateret avatar Sep 03 '15 07:09 wateret