-
-
Notifications
You must be signed in to change notification settings - Fork 597
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
spawnve_test flakes w/ enomem #14
Comments
Could you run:
And post the contents of log.txt here? |
8GB RAM on laptop, no running software, only firefox and terminal.
|
BTW, my Manjaro is under After laptop reboot I got and cant explain how it happened:
|
I get the same error on Ubuntu running in WSL2:
|
I get the same error on openSUSE Leap 15.2:
|
I get the same error on Ubuntu 20.10 in a Virtualbox VM (16GiB Virtual RAM) running on Windows 10 host (32 GiB RAM). ~/perso/git/cosmopolitan$ make
OBJCOPY o//test/libc/calls/hefty/sortenvp_test.com
error:test/libc/calls/hefty/spawnve_test.c:55: spawnve_testExit()
ASSERT_NE(-1, (pid = spawnlp(0, NULL, CMD, CMD, ARG, "exit 42", NULL)))
need -1 (or 0xffffffffffffffffffffffffffffffff) ≠
got -1 (or 0xffffffffffffffffffffffffffffffff)
ENOMEM/err=12/errno:12/GetLastError:0
o//test/libc/calls/hefty/spawnve_test.com
1 / 4 tests failed
make: *** [build/rules.mk:76: o//test/libc/calls/hefty/spawnve_test.com.runs] Error 1 [Maybe off-topic ?] C:\nico>spawnve_test.com
error:test/libc/calls/hefty/spawnve_test.c:46: spawnve_testIpc()
ASSERT_NE(-1, (got = read(tubes[1], buf, sizeof(buf))))
need -1 (or 0xffffffffffffffffffffffffffffffff) ≠
got -1 (or 0xffffffffffffffffffffffffffffffff)
ENOSYS/err=1/errno:1/GetLastError:6 Incorrect function.
spawnve_test.com
1 / 4 tests failed [/Maybe off-topic ?] |
Interestingly, I just tried on a linux laptop running Xubuntu 20.10 with 8GiB RAM, and the build pass ! nico@laptop:~/perso/git/cosmopolitan$ make -j8 -O
MKDEPS o//depend
OBJECTIFY.c o//net/http/negotiatehttprequest.o
make: ragel: No such file or directory
make: *** [build/rules.mk:98: build/bootstrap/net/http/uricspn.c.gz] Error 127
OBJECTIFY.c o//dsp/tty/ttyraster.o
nico@laptop:~/perso/git/cosmopolitan$ ragel
Command 'ragel' not found, but can be installed with:
sudo apt install ragel
nico@laptop:~/perso/git/cosmopolitan$ sudo apt install ragel
[sudo] password for nico:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
ragel
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 1 048 kB of archives.
After this operation, 3 066 kB of additional disk space will be used.
Get:1 http://fr.archive.ubuntu.com/ubuntu groovy/universe amd64 ragel amd64 6.10-1build1 [1 048 kB]
Fetched 1 048 kB in 2s (538 kB/s)
Selecting previously unselected package ragel.
(Reading database ... 241427 files and directories currently installed.)
Preparing to unpack .../ragel_6.10-1build1_amd64.deb ...
Unpacking ragel (6.10-1build1) ...
Setting up ragel (6.10-1build1) ...
Processing triggers for man-db (2.9.3-2) ...
nico@laptop:~/perso/git/cosmopolitan$ make -j8 -O
OBJCOPY o//third_party/chibicc/test/vla_test2.com
nico@laptop:~/perso/git/cosmopolitan$ |
Multiple users have reported that this test fails, for reasons that are currently unknown. It's possible that, some type of environment variable configuration, e.g. PATH, CC, etc. is causing the failure. Once the root cause is identified and addressed we'll re-enable it. Anyone who is able to help us do that, please comment on the issue.
I've disabled the test in question, due to the number of reports, even though I'm not able to reproduce it. Please leave a comment if you figure why it's failing, in which case I'll re-open this issue and fix it. |
For the first time ever, all tests in this codebase now pass, when run automatically on macos, freebsd, openbsd, rhel5, rhel7, alpine and windows via the network using the runit and runitd build tools - Fix vfork exec path etc. - Add XNU opendir() support - Add OpenBSD opendir() support - Add Linux history to syscalls.sh - Use copy_file_range on FreeBSD 13+ - Fix system calls with 7+ arguments - Fix Windows with greater than 16 FDs - Fix RUNIT.COM and RUNITD.COM flakiness - Fix OpenBSD munmap() when files are mapped - Fix long double so it's actually long on Windows - Fix OpenBSD truncate() and ftruncate() thunk typo - Let Windows fcntl() be used on socket files descriptors - Fix Windows fstat() which had an accidental printf statement - Fix RHEL5 CLOCK_MONOTONIC by not aliasing to CLOCK_MONOTONIC_RAW This is wonderful. I never could have dreamed it would be possible to get it working so well on so many platforms with tiny binaries. Fixes #31 Fixes #25 Fixes #14
Hey everyone! Thanks again for trying Cosmopolitan. I believe I've fully and properly addressed the root cause in 45b7248 where some technical debt needed to be paid off regarding |
The text was updated successfully, but these errors were encountered: