Comments (10)
Can you tell me how you built libuv and how you ran the test suite (and as what user)? Can you post the output of uname -a
? Thanks.
EDIT: Forgot to ask: are the failures repeatable?
from libuv.
Just checked v0.11.29, and that version passes all tests just fine.
@bnoordhuis That's done by portage automatically if I set FEATIRES="test". I already ran it manually by going into BUILD_DIR, and from there running
./test/run-tests
With "root" user.
uname -a says:
Linux TP_L520 3.17.4-gentoo #1 SMP Tue Nov 25 14:20:32 CET 2014 x86_64 Intel(R) Core(TM) i3-2350M CPU @ 2.30GHz GenuineIntel GNU/Linux
from libuv.
With "root" user.
That's probably part of the problem, the tests aren't really supposed to be run as root. What happens when you run the test suite as a regular user? You should probably do a git clean -dfx
first, to clean out the test fixtures.
from libuv.
Portage uses the user "portage" to compile, as long as I don't tell it to use root (security...). And I actually copied the wrong output ;) The one I posted was when running tests as root. Portage only failed at spawn_reads_child_path
I now built libuv with my day-to-day user, and again I have that one test fail.
from libuv.
Does the test also fail when you run test/run-tests spawn_reads_child_path spawn_reads_child_path
manually? Is the 'portage' user restricted in any way, like, say, having reduced capabilities? Can you post the verbatim output from the failing test?
from libuv.
./test/run-tests spawn_reads_child_path spawn_reads_child_path exit_cb
Assertion failed in test/test-spawn.c on line 66: exit_status == 1
[1] 26494 abort ./test/run-tests spawn_reads_child_path spawn_reads_child_path
(as normal user in my $HOME)
The portage user is only in the portage group, no further gropus. AFAIK it's to allow it to access the build directory. Building is furthermore done in a sandbox, so everything is quite restricted.
But as the test also fails as normal user (not portage) in a clean git checkout I think the failure has nothing to do with Portage.
Concerning "verbatim output": The outputs I posted are verbatim. Do you mean something different?
And just in case you missed the point: All tests pass with v0.11.29 (and test-spawn.c did not change since 0.11.29 was tagged)
from libuv.
Okay, noted. Not sure what it could be, the test works okay locally and on the CI, last time I checked. Can you git bisect
it?
from libuv.
Well, I really don't undertand the result :/
e524f89 is the first bad one...
Going one commit back and everything is fine. I used git clean -dfx after ech git bisect round, built from ground up, so everything should have been right. How can changing the version influence the test result of ONE single test?
from libuv.
The spawn_child fail is probably a duplicate of joyent/libuv#1539 (If relevant: I do most of my testing on Gentoo as well).
from libuv.
Tentatively closing since this seems fixed. None of the Jenkins slaves are able to reproduce it.
If it fails again, please ask and I'll reopen :-)
from libuv.
Related Issues (20)
- Abstract socket namespace not work for 1.48 HOT 4
- several tests ha failed HOT 4
- unix udp close crash HOT 9
- linux,udp: don't use sendmmsg for single datagrams
- bug in libuv io_uring causes incorrect event reports to epoll and busy loop HOT 14
- `-Wstringop-overread` warning with libuv v1.48.0 (`unix/tcp.c:295`) with IBM AT17.0 (GCC 13.2.1) HOT 3
- Mixed allocator usage with `realpath` HOT 2
- Test failure with 1.48.0 on OSX x86 HOT 10
- Bug in TCP keep-alive with unix socket
- MSVC compiler bug broke env_vars test in ASAN (x64 windows 2022+asan) HOT 4
- Additional Libuv Metrics HOT 2
- test: flaky fs_event_close_with_pending_event HOT 2
- _alloca Requested memory may have edge problems causing exceptions HOT 3
- multicast: The Android server(apk) doesn't always receive multicast messages from ubuntu.
- test,ci: flaky fs_event_error_reporting
- android: enable fdsan?
- Send udp broadcast to 255.255.255.255 cause permission denied error HOT 2
- macos: use absolute timeouts for condition variables HOT 1
- fs_event_watch_dir test fails on alpine 3.19 HOT 5
- System freeze after suspending two instances of Neovim HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libuv.